@Override public void fromJson(JsonObject json) { creationTime = getLong(json, "creationTime", -1L); value = getLong(json, "value", -1L); totalIncrementOperationCount = getLong(json, "totalIncrementOperationCount", -1L); totalDecrementOperationCount = getLong(json, "totalDecrementOperationCount", -1L); }
@Override public void fromJson(JsonObject json) { creationTime = getLong(json, "creationTime", -1L); value = getLong(json, "value", -1L); totalIncrementOperationCount = getLong(json, "totalIncrementOperationCount", -1L); totalDecrementOperationCount = getLong(json, "totalDecrementOperationCount", -1L); }
@Override public void fromJson(JsonObject json) { creationTime = getLong(json, "creationTime", -1L); minorCount = getLong(json, "minorCount", -1L); minorTime = getLong(json, "minorTime", -1L); majorCount = getLong(json, "majorCount", -1L); majorTime = getLong(json, "majorTime", -1L); unknownCount = getLong(json, "unknownCount", -1L); unknownTime = getLong(json, "unknownTime", -1L); }
@Override public void fromJson(JsonObject json) { creationTime = getLong(json, "creationTime", -1L); minorCount = getLong(json, "minorCount", -1L); minorTime = getLong(json, "minorTime", -1L); majorCount = getLong(json, "majorCount", -1L); majorTime = getLong(json, "majorTime", -1L); unknownCount = getLong(json, "unknownCount", -1L); unknownTime = getLong(json, "unknownTime", -1L); }
@Override public void fromJson(JsonObject json) { creationTime = getLong(json, "creationTime", -1L); PENDING.set(this, getLong(json, "pending", -1L)); STARTED.set(this, getLong(json, "started", -1L)); COMPLETED.set(this, getLong(json, "completed", -1L)); CANCELLED.set(this, getLong(json, "cancelled", -1L)); TOTAL_START_LATENCY.set(this, getLong(json, "totalStartLatency", -1L)); TOTAL_EXECUTION_TIME.set(this, getLong(json, "totalExecutionTime", -1L)); }
@Override public void fromJson(JsonObject json) { creationTime = getLong(json, "creationTime", -1L); PENDING.set(this, getLong(json, "pending", -1L)); STARTED.set(this, getLong(json, "started", -1L)); COMPLETED.set(this, getLong(json, "completed", -1L)); CANCELLED.set(this, getLong(json, "cancelled", -1L)); TOTAL_START_LATENCY.set(this, getLong(json, "totalStartLatency", -1L)); TOTAL_EXECUTION_TIME.set(this, getLong(json, "totalExecutionTime", -1L)); }
@Override public void fromJson(JsonObject json) { maxVisibleSlowOperationCount = getLong(json, "maxVisibleSlowOperationCount", Long.MAX_VALUE); for (JsonValue jsonValue : getArray(json, "slowOperations")) { SlowOperationDTO slowOperationDTO = new SlowOperationDTO(); slowOperationDTO.fromJson(jsonValue.asObject()); slowOperations.add(slowOperationDTO); } creationTime = getLong(json, "creationTime", -1L); }
@Override public void fromJson(JsonObject json) { maxVisibleSlowOperationCount = getLong(json, "maxVisibleSlowOperationCount", Long.MAX_VALUE); for (JsonValue jsonValue : getArray(json, "slowOperations")) { SlowOperationDTO slowOperationDTO = new SlowOperationDTO(); slowOperationDTO.fromJson(jsonValue.asObject()); slowOperations.add(slowOperationDTO); } creationTime = getLong(json, "creationTime", -1L); }
@Override public void fromJson(JsonObject json) { responseQueueSize = getInt(json, "responseQueueSize", -1); operationExecutorQueueSize = getInt(json, "operationExecutorQueueSize", -1); runningOperationsCount = getInt(json, "runningOperationsCount", -1); remoteOperationCount = getInt(json, "remoteOperationCount", -1); executedOperationCount = getLong(json, "executedOperationCount", -1L); operationThreadCount = getLong(json, "operationThreadCount", -1L); } }
@Override public void fromJson(JsonObject json) { responseQueueSize = getInt(json, "responseQueueSize", -1); operationExecutorQueueSize = getInt(json, "operationExecutorQueueSize", -1); runningOperationsCount = getInt(json, "runningOperationsCount", -1); remoteOperationCount = getInt(json, "remoteOperationCount", -1); executedOperationCount = getLong(json, "executedOperationCount", -1L); operationThreadCount = getLong(json, "operationThreadCount", -1L); } }
@Override public void fromJson(JsonObject json) { connected = getBoolean(json, "isConnected", false); totalPublishLatency = getLong(json, "totalPublishLatencies", -1); totalPublishedEventCount = getLong(json, "totalPublishedEventCount", -1); outboundQueueSize = getInt(json, "outboundQueueSize", -1); state = WanPublisherState.valueOf(getString(json, "state", WanPublisherState.REPLICATING.name())); }
@Override public void fromJson(JsonObject json) { connected = getBoolean(json, "isConnected", false); totalPublishLatency = getLong(json, "totalPublishLatencies", -1); totalPublishedEventCount = getLong(json, "totalPublishedEventCount", -1); outboundQueueSize = getInt(json, "outboundQueueSize", -1); state = WanPublisherState.valueOf(getString(json, "state", WanPublisherState.REPLICATING.name())); }
@Override public void fromJson(JsonObject json) { id = getInt(json, "id"); operationDetails = getString(json, "details"); startedAt = getLong(json, "startedAt"); durationMs = getInt(json, "durationMs"); } }
@Override public void fromJson(JsonObject json) { id = getInt(json, "id"); operationDetails = getString(json, "details"); startedAt = getLong(json, "startedAt"); durationMs = getInt(json, "durationMs"); } }
@Override public void fromJson(JsonObject json) { name = getString(json, "name"); queueSize = getInt(json, "queueSize"); poolSize = getInt(json, "poolSize"); remainingQueueCapacity = getInt(json, "remainingQueueCapacity"); maximumPoolSize = getInt(json, "maximumPoolSize"); isTerminated = getBoolean(json, "isTerminated"); completedTaskCount = getLong(json, "completedTaskCount"); } }
@Override public void fromJson(JsonObject json) { name = getString(json, "name"); queueSize = getInt(json, "queueSize"); poolSize = getInt(json, "poolSize"); remainingQueueCapacity = getInt(json, "remainingQueueCapacity"); maximumPoolSize = getInt(json, "maximumPoolSize"); isTerminated = getBoolean(json, "isTerminated"); completedTaskCount = getLong(json, "completedTaskCount"); } }