Class IpdConnectionState
java.lang.Object
com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdConnectionState
- All Implemented Interfaces:
IpdConnectionStateMxBean
Metric type holding information about the connection state and total number of failures set.
Made for use with
CustomMeter.- Since:
- 5.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IpdConnectionState
public IpdConnectionState()
-
-
Method Details
-
setConnected
public void setConnected(boolean connected) -
isConnected
public boolean isConnected()- Specified by:
isConnectedin interfaceIpdConnectionStateMxBean
-
getTotalFailures
public long getTotalFailures()- Specified by:
getTotalFailuresin interfaceIpdConnectionStateMxBean
-