Package org.onosproject.store.flow.impl
Interface LifecycleManager
-
- All Superinterfaces:
org.onosproject.event.ListenerService<LifecycleEvent,LifecycleEventListener>
public interface LifecycleManager extends org.onosproject.event.ListenerService<LifecycleEvent,LifecycleEventListener>
Flow table lifecycle manager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate(long term)Activates the given term.voidclose()Closes the lifecycle manager.DeviceReplicaInfogetReplicaInfo()Returns the current term.
-
-
-
Method Detail
-
getReplicaInfo
DeviceReplicaInfo getReplicaInfo()
Returns the current term.- Returns:
- the current term
-
activate
void activate(long term)
Activates the given term.- Parameters:
term- the term to activate
-
close
void close()
Closes the lifecycle manager.
-
-