public class PmemMemoryPool extends AbstractMemoryPool
threshold
Constructor and Description |
---|
PmemMemoryPool(long threshold,
String fileName,
boolean verbose) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete(IBlobStoreOffHeapInfo info) |
void |
executeBulk(byte[] operations,
long[] offsets,
short[] types,
Object[] operationsData) |
byte[] |
get(IBlobStoreOffHeapInfo info) |
String |
getFileName() |
long |
getUsedBytes() |
void |
initMetrics(MetricRegistrator metricRegistrator) |
void |
initPool(String spaceName) |
boolean |
isOffHeap() |
boolean |
isPmem() |
void |
register(String typeName,
short typeCode) |
void |
unregister(String typeName,
short typeCode) |
void |
update(IBlobStoreOffHeapInfo info,
byte[] buf) |
void |
write(IBlobStoreOffHeapInfo info,
byte[] buf) |
getMetricRegistrator, getThreshold, metricsPath, setMetricRegistrator
public PmemMemoryPool(long threshold, String fileName, boolean verbose)
public void initPool(String spaceName)
public String getFileName()
public void executeBulk(byte[] operations, long[] offsets, short[] types, Object[] operationsData)
public void initMetrics(MetricRegistrator metricRegistrator)
initMetrics
in class AbstractMemoryPool
public void register(String typeName, short typeCode)
register
in class AbstractMemoryPool
public void unregister(String typeName, short typeCode)
unregister
in class AbstractMemoryPool
public long getUsedBytes()
getUsedBytes
in class AbstractMemoryPool
public void write(IBlobStoreOffHeapInfo info, byte[] buf)
write
in class AbstractMemoryPool
public byte[] get(IBlobStoreOffHeapInfo info)
get
in class AbstractMemoryPool
public void update(IBlobStoreOffHeapInfo info, byte[] buf)
update
in class AbstractMemoryPool
public void delete(IBlobStoreOffHeapInfo info)
delete
in class AbstractMemoryPool
public boolean isPmem()
isPmem
in class AbstractMemoryPool
public boolean isOffHeap()
isOffHeap
in class AbstractMemoryPool
public void close()
close
in class AbstractMemoryPool
Copyright © GigaSpaces.