Class RedisClientEntry

    • Method Detail

      • getType

        public NodeType getType()
        Description copied from interface: Node
        Returns node type
        Specified by:
        getType in interface Node
        Returns:
        node type
      • getAddr

        public  getAddr()
        Description copied from interface: Node
        Get Redis node address
        Specified by:
        getAddr in interface Node
        Returns:
        node address
      • pingAsync

        public > pingAsync​(long timeout,
                                           timeUnit)
        Description copied from interface: NodeAsync
        Ping Redis node with specified timeout.
        Specified by:
        pingAsync in interface NodeAsync
        Parameters:
        timeout - - ping timeout
        timeUnit - - timeout unit
        Returns:
        true if "PONG" reply received, false otherwise
      • ping

        public boolean ping()
        Description copied from interface: Node
        Ping Redis node. Default timeout is 1000 milliseconds
        Specified by:
        ping in interface Node
        Returns:
        true if "PONG" reply received, false otherwise
      • ping

        public boolean ping​(long timeout,
                             timeUnit)
        Description copied from interface: Node
        Ping Redis node with specified timeout.
        Specified by:
        ping in interface Node
        Parameters:
        timeout - - ping timeout
        timeUnit - - timeout unit
        Returns:
        true if "PONG" reply received, false otherwise
      • hashCode

        public int hashCode()
        Overrides:
         in class 
      • equals

        public boolean equals​( obj)
        Overrides:
         in class 
      • time

        public Time time()
        Description copied from interface: Node
        Returns current Redis server time in seconds
        Specified by:
        time in interface Node
        Returns:
        time in seconds
      • clusterInfo

        public <,​> clusterInfo()
        Description copied from interface: ClusterNode
        Execute CLUSTER INFO operation.
        Specified by:
        clusterInfo in interface ClusterNode
        Returns:
        value mapped by field
      • toString

        public  toString()
        Overrides:
         in class