public class OffHeapMemoryPool extends Object
Constructor and Description |
---|
OffHeapMemoryPool(long threshold) |
Modifier and Type | Method and Description |
---|---|
void |
allocateAndWrite(IBlobStoreOffHeapInfo info,
byte[] buf,
boolean fromUpdate) |
void |
delete(IBlobStoreOffHeapInfo info,
boolean fromUpdate) |
byte[] |
get(long address) |
long |
getThreshold() |
long |
getUsedBytes() |
void |
initMetrics(MetricRegistrator metricRegistrator) |
void |
register(String typeName) |
void |
unregister(String typeName) |
void |
update(IBlobStoreOffHeapInfo info,
byte[] buf) |
public long getThreshold()
public void initMetrics(MetricRegistrator metricRegistrator)
public void register(String typeName)
public void unregister(String typeName)
public void allocateAndWrite(IBlobStoreOffHeapInfo info, byte[] buf, boolean fromUpdate)
public byte[] get(long address)
public void update(IBlobStoreOffHeapInfo info, byte[] buf)
public void delete(IBlobStoreOffHeapInfo info, boolean fromUpdate)
public long getUsedBytes()
Copyright © GigaSpaces.