public class DiskRegUtil extends Object
| Constructor and Description |
|---|
DiskRegUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
compareValues(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Compare the values for the given key as it appears in the VM,
and as it appears in the disk region.
|
static long |
getBufferSize(com.gemstone.gemfire.cache.Region aRegion)
Get the current number of bytes in the disk write buffer.
|
static long |
getBytesWritten(com.gemstone.gemfire.cache.Region aRegion)
Get the total number of bytes that have been written to disk.
|
static long |
getCommits(com.gemstone.gemfire.cache.Region aRegion)
Get the total number of commit operations.
|
static long |
getNumEntriesInVM(com.gemstone.gemfire.cache.Region aRegion)
Get the number of entries in the region whose value resides in the VM
|
static long |
getNumEntriesWrittenToDisk(com.gemstone.gemfire.cache.Region aRegion)
Get the number of entries that have been written to disk.
|
static long |
getNumOverflowOnDisk(com.gemstone.gemfire.cache.Region aRegion)
Get the number of entries that have overflowed to disk.
|
static long |
getRecoveredEntryCount(com.gemstone.gemfire.cache.Region aRegion)
Get the number of entries recovered from disk.
|
static long |
getRemoves(com.gemstone.gemfire.cache.Region aRegion)
Get the number of entries that have been removed from disk.
|
static Object |
getValueInVM(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Get the value for the given key as it appears in the VM.
|
static Object |
getValueOnDiskOrBuffer(com.gemstone.gemfire.cache.Region aRegion,
Object key)
Get the value for the given key as it appears on disk.
|
static boolean |
isBackup(com.gemstone.gemfire.cache.Region aRegion)
True if disk region is a backup of the region.
|
public static long getNumEntriesInVM(com.gemstone.gemfire.cache.Region aRegion)
public static long getNumEntriesWrittenToDisk(com.gemstone.gemfire.cache.Region aRegion)
public static long getNumOverflowOnDisk(com.gemstone.gemfire.cache.Region aRegion)
public static Object getValueInVM(com.gemstone.gemfire.cache.Region aRegion, Object key)
aRegion - The region that contains the key.key - The key in the region.public static Object getValueOnDiskOrBuffer(com.gemstone.gemfire.cache.Region aRegion, Object key)
aRegion - The region that contains the key.key - The key in the region.public static long compareValues(com.gemstone.gemfire.cache.Region aRegion,
Object key)
region - a region expected to contain the values.key - an Object containing the key in the region.public static long getRecoveredEntryCount(com.gemstone.gemfire.cache.Region aRegion)
aRegion - The region.public static boolean isBackup(com.gemstone.gemfire.cache.Region aRegion)
aRegion - The region.public static long getBufferSize(com.gemstone.gemfire.cache.Region aRegion)
public static long getBytesWritten(com.gemstone.gemfire.cache.Region aRegion)
public static long getCommits(com.gemstone.gemfire.cache.Region aRegion)
public static long getRemoves(com.gemstone.gemfire.cache.Region aRegion)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.