Class PCEPTunnelClusterSingletonService
- java.lang.Object
-
- org.opendaylight.bgpcep.pcep.tunnel.provider.PCEPTunnelClusterSingletonService
-
- All Implemented Interfaces:
AutoCloseable
,org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
,org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
public final class PCEPTunnelClusterSingletonService extends Object implements org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description PCEPTunnelClusterSingletonService(org.opendaylight.bgpcep.pcep.tunnel.provider.TunnelProviderDependencies dependencies, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology> pcepTopology, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId tunnelTopologyId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>
closeServiceInstance()
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier
getIdentifier()
void
instantiateServiceInstance()
-
-
-
Constructor Detail
-
PCEPTunnelClusterSingletonService
public PCEPTunnelClusterSingletonService(org.opendaylight.bgpcep.pcep.tunnel.provider.TunnelProviderDependencies dependencies, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology> pcepTopology, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId tunnelTopologyId)
-
-
Method Detail
-
instantiateServiceInstance
public void instantiateServiceInstance()
- Specified by:
instantiateServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
closeServiceInstance
public com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> closeServiceInstance()
- Specified by:
closeServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
getIdentifier
public org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getIdentifier()
- Specified by:
getIdentifier
in interfaceorg.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-