Uses of Class
xyz.geik.farmer.Metrics.JsonObjectBuilder
-
Uses of Metrics.JsonObjectBuilder in xyz.geik.farmer
Modifier and TypeMethodDescriptionMetrics.JsonObjectBuilder.appendField
(String key, int value) Appends an integer field to the JSON.Metrics.JsonObjectBuilder.appendField
(String key, int[] values) Appends an integer array to the JSON.Metrics.JsonObjectBuilder.appendField
(String key, String value) Appends a string field to the JSON.Metrics.JsonObjectBuilder.appendField
(String key, String[] values) Appends a string array to the JSON.Metrics.JsonObjectBuilder.appendField
(String key, Metrics.JsonObjectBuilder.JsonObject object) Appends an object to the JSON.Metrics.JsonObjectBuilder.appendField
(String key, Metrics.JsonObjectBuilder.JsonObject[] values) Appends an object array to the JSON.Metrics.JsonObjectBuilder.appendNull
(String key) Appends a null field to the JSON.ModifierConstructorDescriptionMetricsBase
(String platform, String serverUuid, int serviceId, boolean enabled, Consumer<Metrics.JsonObjectBuilder> appendPlatformDataConsumer, Consumer<Metrics.JsonObjectBuilder> appendServiceDataConsumer, Consumer<Runnable> submitTaskConsumer, Supplier<Boolean> checkServiceEnabledSupplier, BiConsumer<String, Throwable> errorLogger, Consumer<String> infoLogger, boolean logErrors, boolean logSentData, boolean logResponseStatusText) Creates a new MetricsBase class instance.