Class PingServiceHealth
java.lang.Object
com.couchbase.client.core.message.internal.PingServiceHealth
@Public @Experimental public class PingServiceHealth extends Object
Represents health for a specific service on ping.
- Since:
- 1.5.4
- Author:
- Michael Nitschinger
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PingServiceHealth.PingState
-
Constructor Summary
Constructors Constructor Description PingServiceHealth(ServiceType serviceType, PingServiceHealth.PingState pingState, String id, long latency, SocketAddress localAddr, SocketAddress remoteAddr, String scope)
-
Method Summary
Modifier and Type Method Description String
id()
long
latency()
InetSocketAddress
local()
InetSocketAddress
remote()
String
scope()
PingServiceHealth.PingState
state()
Map<String,Object>
toMap()
String
toString()
ServiceType
type()
-
Constructor Details
-
PingServiceHealth
public PingServiceHealth(ServiceType serviceType, PingServiceHealth.PingState pingState, String id, long latency, SocketAddress localAddr, SocketAddress remoteAddr, String scope)
-
-
Method Details