public class DirectMemoryMonitor extends BlobStoreMemoryMonitor
MEMORY_MONITOR_PROPERTY_NAME| Constructor and Description |
|---|
DirectMemoryMonitor(String spaceName,
int writeThresholdPrecentage,
DirectMemoryCompactor directMemoryCompacter) |
| Modifier and Type | Method and Description |
|---|---|
static double |
getMaxDirectMemory() |
String |
getSpaceName() |
int |
getWriteThresholdPrecentage() |
void |
onMemoryAllocation(Serializable id)
verify that the designated threshold was not exceeded and throw
BlobStoreMemoryShortageException
|
public DirectMemoryMonitor(String spaceName, int writeThresholdPrecentage, DirectMemoryCompactor directMemoryCompacter)
public void onMemoryAllocation(Serializable id) throws BlobStoreMemoryShortageException
BlobStoreMemoryMonitoronMemoryAllocation in class BlobStoreMemoryMonitorid - the blob-store id of the object about to be put/replacedBlobStoreMemoryShortageExceptionpublic static double getMaxDirectMemory()
public int getWriteThresholdPrecentage()
public String getSpaceName()
Copyright © GigaSpaces.