Class StreamIntrospectionConverter
java.lang.Object
org.nuxeo.ecm.core.bulk.introspection.StreamIntrospectionConverter
- Since:
- 11.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddumpComputation(String host, StringBuilder ret, com.fasterxml.jackson.databind.JsonNode item, Map<String, String> metrics, String created) protected voiddumpStream(StringBuilder ret, com.fasterxml.jackson.databind.JsonNode item, Map<String, String> metrics) protected com.fasterxml.jackson.databind.JsonNodegetActiveComputations(long atTimestamp) getActivity(long atTimestamp) protected StringgetBatchInfo(com.fasterxml.jackson.databind.JsonNode item) protected com.fasterxml.jackson.databind.JsonNodegetClusterNodes(long atTimestamp) protected StringgetComputationMetrics(String host, String name, com.fasterxml.jackson.databind.JsonNode item, Map<String, String> metrics) getConsumers(String stream) protected StringgetNiceDouble(Double number) protected StringgetNiceDouble3(Double number) getPuml()protected StringgetPumlHeader(String title) protected StringgetPumlIdentifier(String name) protected StringgetPumlIdentifierForHost(String host, String id) protected com.fasterxml.jackson.databind.JsonNodegetScaleMetrics(int workerCount, com.fasterxml.jackson.databind.node.ArrayNode computations) protected StringgetStreamEnd(Map<String, String> metrics, String name) protected com.fasterxml.jackson.databind.node.ObjectNodeinitComputation(com.fasterxml.jackson.databind.JsonNode key)
-
Field Details
-
OBJECT_MAPPER
protected static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER -
ACTIVE_THRESHOLD_SECONDS
protected static final long ACTIVE_THRESHOLD_SECONDS- See Also:
-
ETA_THRESHOLD_SECONDS
protected static final int ETA_THRESHOLD_SECONDS- See Also:
-
BEST_ETA_THRESHOLD_SECONDS
protected static final int BEST_ETA_THRESHOLD_SECONDS- See Also:
-
EMPTY_JSON_ARRAY
- See Also:
-
json
-
root
protected final com.fasterxml.jackson.databind.JsonNode root
-
-
Constructor Details
-
StreamIntrospectionConverter
-
-
Method Details
-
getStreams
-
getConsumers
-
getPuml
-
parseMetrics
-
getNiceDouble
-
getNiceDouble3
-
getPumlHeader
-
getPumlIdentifierForHost
-
dumpStream
protected void dumpStream(StringBuilder ret, com.fasterxml.jackson.databind.JsonNode item, Map<String, String> metrics) -
getStreamEnd
-
dumpComputation
-
getComputationMetrics
-
getBatchInfo
-
getActivity
-
getActivity
-
getScaleMetrics
protected com.fasterxml.jackson.databind.JsonNode getScaleMetrics(int workerCount, com.fasterxml.jackson.databind.node.ArrayNode computations) -
getActiveComputations
protected com.fasterxml.jackson.databind.JsonNode getActiveComputations(long atTimestamp) -
initComputation
protected com.fasterxml.jackson.databind.node.ObjectNode initComputation(com.fasterxml.jackson.databind.JsonNode key) -
getClusterNodes
protected com.fasterxml.jackson.databind.JsonNode getClusterNodes(long atTimestamp) -
getPumlIdentifier
-