JavaType - the Java type which can be converted by this handlerpublic interface TypeHandler<JavaType>
| Modifier and Type | Method and Description |
|---|---|
int |
getDataLength() |
MmvMetricType |
getMetricType() |
void |
putBytes(java.nio.ByteBuffer buffer,
JavaType value)
Render the provided value into the given ByteBuffer for access by PCP.
|
boolean |
requiresLargeStorage() |
void putBytes(java.nio.ByteBuffer buffer,
JavaType value)
buffer - a ByteBuffer, positioned ready to receive the bytes representing this Java type to
PCPvalue - the value to be convertedMmvMetricType getMetricType()
MmvMetricType used by PCP to understand the bytes written by
putBytes(ByteBuffer, Object)int getDataLength()
boolean requiresLargeStorage()