JavaType
- the Java type handled by this TypeHandler implementationpublic abstract class AbstractTypeHandler<JavaType> extends Object implements TypeHandler<JavaType>
TypeHandler.getMetricType()
Constructor and Description |
---|
AbstractTypeHandler(MmvMetricType type,
int dataLength) |
Modifier and Type | Method and Description |
---|---|
int |
getDataLength() |
MmvMetricType |
getMetricType() |
boolean |
requiresLargeStorage() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
putBytes
public AbstractTypeHandler(MmvMetricType type, int dataLength)
public MmvMetricType getMetricType()
getMetricType
in interface TypeHandler<JavaType>
MmvMetricType
used by PCP to understand the bytes written by
TypeHandler.putBytes(ByteBuffer, Object)
public int getDataLength()
getDataLength
in interface TypeHandler<JavaType>
public boolean requiresLargeStorage()
requiresLargeStorage
in interface TypeHandler<JavaType>
Copyright © 2009–2019 Performance Co-Pilot. All rights reserved.