Class EndpointHealth
java.lang.Object
com.couchbase.client.core.message.internal.EndpointHealth
@Public @Experimental public class EndpointHealth extends Object
Aggregates the health of one specific
Endpoint
.- Since:
- 1.5.0
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description EndpointHealth(ServiceType type, LifecycleState state, SocketAddress localAddr, SocketAddress remoteAddr, long lastActivityUs, String id)
-
Method Summary
Modifier and Type Method Description String
id()
long
lastActivity()
InetSocketAddress
local()
InetSocketAddress
remote()
LifecycleState
state()
Map<String,Object>
toMap()
String
toString()
ServiceType
type()
-
Constructor Details
-
EndpointHealth
public EndpointHealth(ServiceType type, LifecycleState state, SocketAddress localAddr, SocketAddress remoteAddr, long lastActivityUs, String id)
-
-
Method Details