public class PmemMemoryPool extends AbstractMemoryPool
threshold| Constructor and Description |
|---|
PmemMemoryPool(long threshold,
String pmemPath,
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 |
getPmemDataFile() |
String |
getPmemPath() |
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, percent, setMetricRegistratorpublic PmemMemoryPool(long threshold,
String pmemPath,
boolean verbose)
public void initPool(String spaceName)
public String getPmemPath()
public String getPmemDataFile()
public void executeBulk(byte[] operations,
long[] offsets,
short[] types,
Object[] operationsData)
public void initMetrics(MetricRegistrator metricRegistrator)
initMetrics in class AbstractMemoryPoolpublic void register(String typeName, short typeCode)
register in class AbstractMemoryPoolpublic void unregister(String typeName, short typeCode)
unregister in class AbstractMemoryPoolpublic long getUsedBytes()
getUsedBytes in class AbstractMemoryPoolpublic void write(IBlobStoreOffHeapInfo info, byte[] buf)
write in class AbstractMemoryPoolpublic byte[] get(IBlobStoreOffHeapInfo info)
get in class AbstractMemoryPoolpublic void update(IBlobStoreOffHeapInfo info, byte[] buf)
update in class AbstractMemoryPoolpublic void delete(IBlobStoreOffHeapInfo info)
delete in class AbstractMemoryPoolpublic boolean isPmem()
isPmem in class AbstractMemoryPoolpublic boolean isOffHeap()
isOffHeap in class AbstractMemoryPoolpublic void close()
close in class AbstractMemoryPoolCopyright © GigaSpaces.