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 class BGPClusterSingletonService
extends Object
implements org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService, AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
com.google.common.util.concurrent.ListenableFuture<?>
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier
void
void
onNeighborRemoved
(Neighbor neighbor)
-
Method Details
-
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>
-
instantiateServiceInstance
public void instantiateServiceInstance()- Specified by:
instantiateServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
closeServiceInstance
public com.google.common.util.concurrent.ListenableFuture<?> closeServiceInstance()- Specified by:
closeServiceInstance
in interfaceorg.opendaylight.mdsal.singleton.common.api.ClusterSingletonService
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
onNeighborRemoved
-