Package com.gigaspaces.blobstore.pmem
Class PmemMemoryPool
java.lang.Object
com.j_spaces.core.cache.blobStore.memory_pool.AbstractMemoryPool
com.gigaspaces.blobstore.pmem.PmemMemoryPool
- Since:
- 12.3
- Author:
- Yael Nahon
-
Field Summary
Fields inherited from class com.j_spaces.core.cache.blobStore.memory_pool.AbstractMemoryPool
threshold -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddelete(IBlobStoreOffHeapInfo info) voidexecuteBulk(byte[] operations, long[] offsets, short[] types, Object[] operationsData) byte[]get(IBlobStoreOffHeapInfo info) longvoidinitMetrics(MetricRegistrator metricRegistrator) voidbooleanbooleanisPmem()voidvoidunregister(String typeName, short typeCode) voidupdate(IBlobStoreOffHeapInfo info, byte[] buf) voidwrite(IBlobStoreOffHeapInfo info, byte[] buf) Methods inherited from class com.j_spaces.core.cache.blobStore.memory_pool.AbstractMemoryPool
getMetricRegistrator, getThreshold, metricsPath, percent, setMetricRegistrator
-
Constructor Details
-
PmemMemoryPool
-
-
Method Details
-
initPool
-
getPmemPath
-
getPmemDataFile
-
executeBulk
-
initMetrics
- Specified by:
initMetricsin classAbstractMemoryPool
-
register
- Specified by:
registerin classAbstractMemoryPool
-
unregister
- Specified by:
unregisterin classAbstractMemoryPool
-
getUsedBytes
public long getUsedBytes()- Specified by:
getUsedBytesin classAbstractMemoryPool
-
write
- Specified by:
writein classAbstractMemoryPool
-
get
- Specified by:
getin classAbstractMemoryPool
-
update
- Specified by:
updatein classAbstractMemoryPool
-
delete
- Specified by:
deletein classAbstractMemoryPool
-
isPmem
public boolean isPmem()- Specified by:
isPmemin classAbstractMemoryPool
-
isOffHeap
public boolean isOffHeap()- Specified by:
isOffHeapin classAbstractMemoryPool
-
close
public void close()- Specified by:
closein classAbstractMemoryPool
-