Interface ServerEndpoint


@Unstable public interface ServerEndpoint
A physical server of an endpoint.
Author:
Julien Viet
  • Method Details

    • key

      String key()
      Returns:
      the node key for hashing strategies
    • address

      SocketAddress address()
      Returns:
      the server socket address
    • protocolId

      String protocolId()
      Returns:
      the server protocol id, optional it can be null
    • newInteraction

      ServerInteraction newInteraction()
      Initiate a request/response interaction with the endpoint represented by this node, the returned interaction gathers statistics.
      Returns:
      the request
    • metrics

      InteractionMetrics<?> metrics()
    • unwrap

      Object unwrap()