Package | Description |
---|---|
io.pcp.parfait.dxm | |
io.pcp.parfait.dxm.types |
Modifier and Type | Method and Description |
---|---|
TypeHandler<?> |
PcpValueInfo.getTypeHandler() |
Modifier and Type | Method and Description |
---|---|
<T> void |
PcpMmvWriter.addMetric(MetricName name,
Semantics semantics,
javax.measure.Unit<?> unit,
T initialValue,
TypeHandler<T> pcpType) |
<T> void |
PcpWriter.addMetric(MetricName name,
Semantics semantics,
javax.measure.Unit<?> unit,
T initialValue,
TypeHandler<T> pcpType)
Adds a new metric to the writer, with an initial default value.
|
<T> void |
PcpMmvWriter.registerType(Class<T> runtimeClass,
TypeHandler<T> handler) |
<T> void |
PcpWriter.registerType(Class<T> runtimeClass,
TypeHandler<T> handler)
Registers a new
TypeHandler to be used to convert all subsequent values of type
runtimeClass |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTypeHandler<JavaType>
Convenience TypeHandler to provide a simple implementation of
getMetricType() |
Modifier and Type | Field and Description |
---|---|
static TypeHandler<AtomicBoolean> |
DefaultTypeHandlers.ATOMIC_BOOLEAN_AS_INT
Converts an
AtomicBoolean into a PCP unsigned 32-bit integer. |
static TypeHandler<Boolean> |
DefaultTypeHandlers.BOOLEAN_AS_INT
Converts a
Boolean into a PCP signed 32-bit integer. |
static TypeHandler<Number> |
DefaultTypeHandlers.NUMBER_AS_DOUBLE
Converts a
Number into a PCP double. |
static TypeHandler<Number> |
DefaultTypeHandlers.NUMBER_AS_FLOAT
Converts a
Number into a PCP double. |
static TypeHandler<Number> |
DefaultTypeHandlers.NUMBER_AS_INTEGER
Converts a
Number into a PCP signed 32-bit integer. |
static TypeHandler<Number> |
DefaultTypeHandlers.NUMBER_AS_LONG
Converts a
Number into a PCP signed 64-bit integer. |
Modifier and Type | Method and Description |
---|---|
static Map<Class<?>,TypeHandler<?>> |
DefaultTypeHandlers.getDefaultMappings() |
Copyright © 2009-2018 Performance Co-Pilot. All Rights Reserved.