public class SlowOperationInvocationDTO extends Object implements JsonSerializable
SlowOperationLog.Invocation
.Modifier and Type | Field and Description |
---|---|
int |
durationMs |
int |
id |
String |
operationDetails |
long |
startedAt |
Constructor and Description |
---|
SlowOperationInvocationDTO() |
SlowOperationInvocationDTO(int id,
String operationDetails,
long startedAt,
int durationMs) |
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 id
public String operationDetails
public long startedAt
public int durationMs
public SlowOperationInvocationDTO()
public SlowOperationInvocationDTO(int id, String operationDetails, long startedAt, int durationMs)
public JsonObject toJson()
JsonSerializable
JsonObject
.toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
JsonSerializable
json
object and mutates the
state of this object.fromJson
in interface JsonSerializable
json
- the JSON object carrying state for this objectCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.