Interface GuardedContext
- All Superinterfaces:
- AutoCloseable,- org.opendaylight.mdsal.singleton.api.ClusterSingletonService,- org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.api.ServiceGroupIdentifier>,- OFPContext
- All Known Implementing Classes:
- GuardedContextImpl
Stateful OpenFlow context wrapper.
- 
Method SummaryModifier and TypeMethodDescription<T> Tmap(Function<OFPContext, T> transformer) Maps delegate inside guarded context to T.com.google.common.util.concurrent.Service.Statestate()Returns the lifecycle state of the service.Methods inherited from interface org.opendaylight.mdsal.singleton.api.ClusterSingletonServicecloseServiceInstance, instantiateServiceInstanceMethods inherited from interface org.opendaylight.yangtools.concepts.IdentifiablegetIdentifierMethods inherited from interface org.opendaylight.openflowplugin.api.openflow.OFPContextclose, getDeviceInfo, registerMastershipWatcher
- 
Method Details- 
statecom.google.common.util.concurrent.Service.State state()Returns the lifecycle state of the service.- Returns:
- the service state
 
- 
mapMaps delegate inside guarded context to T.- Type Parameters:
- T- the type parameter
- Parameters:
- transformer- the transformer
- Returns:
- the t
 
 
-