Uses of Enum
com.google.cloud.firestore.telemetry.TelemetryConstants.MetricType
Packages that use TelemetryConstants.MetricType
-
Uses of TelemetryConstants.MetricType in com.google.cloud.firestore.telemetry
Methods in com.google.cloud.firestore.telemetry that return TelemetryConstants.MetricTypeModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static TelemetryConstants.MetricType[]TelemetryConstants.MetricType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.cloud.firestore.telemetry with parameters of type TelemetryConstants.MetricTypeModifier and TypeMethodDescription<T> voidMetricsUtil.MetricsContext.recordCounterAtFuture(TelemetryConstants.MetricType metric, com.google.api.core.ApiFuture<T> futureValue) Records the counter value for a metric type _after_ the future has been completed.voidMetricsUtil.MetricsContext.recordLatency(TelemetryConstants.MetricType metric) Records specific type of latency for the current operation.voidMetricsUtil.MetricsContext.recordLatency(TelemetryConstants.MetricType metric, Throwable t) Records specific type of latency for the current operation, which ended with a throwable.<T> voidMetricsUtil.MetricsContext.recordLatencyAtFuture(TelemetryConstants.MetricType metric, com.google.api.core.ApiFuture<T> futureValue) If the operation ends in the future, its relevant metrics should be recorded _after_ the future has been completed.