public class ConnectionManagerDTO extends Object implements JsonSerializable
ConnectionManagerMBean.| Modifier and Type | Field and Description |
|---|---|
int |
activeConnectionCount |
int |
clientConnectionCount |
int |
connectionCount |
| Constructor and Description |
|---|
ConnectionManagerDTO() |
ConnectionManagerDTO(ConnectionManager cm) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject. |
public int clientConnectionCount
public int activeConnectionCount
public int connectionCount
public ConnectionManagerDTO()
public ConnectionManagerDTO(ConnectionManager cm)
public JsonObject toJson()
JsonSerializableJsonObject.toJson in interface JsonSerializablepublic void fromJson(JsonObject json)
JsonSerializablejson object and mutates the
state of this object.fromJson in interface JsonSerializablejson - the JSON object carrying state for this objectCopyright © 2019. All Rights Reserved.