Package org.onosproject.net.behaviour
Interface BasicSystemOperations
- 
- All Superinterfaces:
- Behaviour,- HandlerBehaviour
 
 public interface BasicSystemOperations extends HandlerBehaviour Handler behaviour capable of device reboot execution and getting system time since UNIX epoch.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Boolean>reboot()Causes the target to reboot immediately.java.util.concurrent.CompletableFuture<java.lang.Long>time()Returns the current time on the target.- 
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviourhandler, setHandler
 
- 
 
- 
- 
- 
Method Detail- 
rebootjava.util.concurrent.CompletableFuture<java.lang.Boolean> reboot() Causes the target to reboot immediately.- Returns:
- true if the operation was successful, false otherwise
 
 - 
timejava.util.concurrent.CompletableFuture<java.lang.Long> time() Returns the current time on the target.- Returns:
- Current time in nanoseconds since UNIX epoch.
 
 
- 
 
-