public class SlowOperationDTO extends Object implements JsonSerializable
SlowOperationLog.| Modifier and Type | Field and Description |
|---|---|
List<SlowOperationInvocationDTO> |
invocations |
String |
operation |
String |
stackTrace |
int |
totalInvocations |
| Constructor and Description |
|---|
SlowOperationDTO() |
SlowOperationDTO(String operation,
String stackTrace,
int totalInvocations,
List<SlowOperationInvocationDTO> invocations) |
| 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 String operation
public String stackTrace
public int totalInvocations
public List<SlowOperationInvocationDTO> invocations
public SlowOperationDTO()
public SlowOperationDTO(String operation, String stackTrace, int totalInvocations, List<SlowOperationInvocationDTO> invocations)
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 Hazelcast, Inc.. All Rights Reserved.