Class EndpointStatus


  • public class EndpointStatus
    extends java.lang.Object
    Represent the operational status of a service endpoint (where the endpoint itself is identified by the container cluster id). The status of an endpoint may be assigned from the controller.
    Author:
    smorgrav
    • Constructor Detail

      • EndpointStatus

        public EndpointStatus​(EndpointStatus.Status status,
                              java.lang.String reason,
                              java.lang.String agent,
                              long epoch)
    • Method Detail

      • getAgent

        public java.lang.String getAgent()
        Returns:
        The agent responsible setting this status
      • getReason

        public java.lang.String getReason()
        Returns:
        The reason for this status (e.g. 'incident INCXXX')
      • getEpoch

        public long getEpoch()
        Returns:
        The epoch for when this status became active