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 Detail

      • reboot

        CompletableFuture<Boolean> reboot()
        Causes the target to reboot immediately.
        Returns:
        true if the operation was successful, false otherwise
      • time

        CompletableFuture<Long> time()
        Returns the current time on the target.
        Returns:
        Current time in nanoseconds since UNIX epoch.