Class BGPClusterSingletonService
- java.lang.Object
-
- org.opendaylight.protocol.bgp.rib.impl.config.BGPClusterSingletonService
-
- 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 BGPClusterSingletonService extends Object implements org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService, AutoCloseable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()com.google.common.util.concurrent.ListenableFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo>closeServiceInstance()org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifiergetIdentifier()voidinstantiateServiceInstance()
-
-
-
Method Detail
-
instantiateServiceInstance
public void instantiateServiceInstance()
- Specified by:
instantiateServiceInstancein interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
closeServiceInstance
public com.google.common.util.concurrent.ListenableFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> closeServiceInstance()
- Specified by:
closeServiceInstancein interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
getIdentifier
public org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getIdentifier()
- Specified by:
getIdentifierin interfaceorg.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-