public class DiagnosticContext
extends java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>
DiagnosticContext
implementation backed by a
ConcurrentHashMap
.Modifier and Type | Class and Description |
---|---|
class |
DiagnosticContext.TimeSeriesPoint |
java.util.concurrent.ConcurrentHashMap.KeySetView<K,V>
Constructor and Description |
---|
DiagnosticContext() |
Modifier and Type | Method and Description |
---|---|
DiagnosticContext.TimeSeriesPoint |
makeTimeSeriesPoint(java.lang.String timeSeriesName)
Makes a new time series point without a timestamp.
|
DiagnosticContext.TimeSeriesPoint |
makeTimeSeriesPoint(java.lang.String timeSeriesName,
java.time.Instant instant)
Makes a new time series point with a timestamp.
|
DiagnosticContext.TimeSeriesPoint |
makeTimeSeriesPoint(java.lang.String timeSeriesName,
long tsMs)
Makes a new time series point with a timestamp.
|
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
public DiagnosticContext.TimeSeriesPoint makeTimeSeriesPoint(java.lang.String timeSeriesName)
timeSeriesName
- the name of the time seriespublic DiagnosticContext.TimeSeriesPoint makeTimeSeriesPoint(java.lang.String timeSeriesName, long tsMs)
timeSeriesName
- the name of the time seriestsMs
- the timestamp of the time series point (in millis)public DiagnosticContext.TimeSeriesPoint makeTimeSeriesPoint(java.lang.String timeSeriesName, java.time.Instant instant)
timeSeriesName
- the name of the time seriesinstant
- the timestamp of the time series point (in millis)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.