Class WsData

  • public class WsData
    extends WsData
    • Method Detail

      • setAuthenticated

        public void setAuthenticated​(boolean isAuthenticated)
      • isAuthenticated

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> isAuthenticated()
      • setApikey

        public void setApikey​(java.lang.String apikey)
      • getApikey

        public java.util.Optional<java.lang.String> getApikey()
      • setEdgeId

        public void setEdgeId​(java.lang.String edgeId)
      • getEdgeId

        public java.util.Optional<java.lang.String> getEdgeId()
      • getEdge

        public java.util.Optional<Edge> getEdge​(Metadata metadata)
        Gets the Edge.
        metadata - the Metadata service
        the Edge or Optional.Empty if the Edge-ID was not set or it is not available from Metadata service
      • toString

        public java.lang.String toString()
        Description copied from class: WsData
        Provides a specific toString method.
        Specified by:
        toString in class WsData
        a specific string for this instance
      • scheduleWithFixedDelay

        protected java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay​(java.lang.Runnable command,
                                                                                 long initialDelay,
                                                                                 long delay,
                                                                                 java.util.concurrent.TimeUnit unit)
        Description copied from class: WsData
        Execute a Runnable.
        Specified by:
        scheduleWithFixedDelay in class WsData
        command - the Runnable