voldemort.store.bdb.stats
Class BdbEnvironmentStats

java.lang.Object
  extended by voldemort.store.bdb.stats.BdbEnvironmentStats

public class BdbEnvironmentStats
extends java.lang.Object


Constructor Summary
BdbEnvironmentStats(com.sleepycat.je.Environment environment, com.sleepycat.je.Database database, long ttlMs, boolean exposeSpaceUtil)
           
 
Method Summary
 long getAllotedCacheSize()
           
 long getBINFetches()
           
 long getBINFetchMisses()
           
 long getBtreeLatches()
           
 java.lang.String getBtreeStats()
           
 com.sleepycat.je.DatabaseStats getBtreeStatsUncached()
           
 long getCachedBINs()
           
 long getCachedUpperINs()
           
 long getCleanerBacklog()
           
 long getEntryCount()
           
 long getEvictedBINs()
           
 long getEvictedINs()
           
 long getEvictedLNs()
           
 java.lang.String getFastStatsAsString()
           
 long getFileDeletionBacklog()
           
 long getFileDeletionBacklogBytes()
           
 long getINFetches()
           
 long getINFetchMisses()
           
 long getLNFetches()
           
 long getLNFetchMisses()
           
 long getNumAcquiresNoWaiters()
           
 long getNumAcquiresWithContention()
           
 long getNumCacheMiss()
           
 long getNumCheckpoints()
           
 long getNumCleanerDeletions()
           
 long getNumCleanerEntriesRead()
           
 long getNumCleanerRuns()
           
 long getNumEnvironmentFailureExceptions()
           
 long getNumExceptions()
           
 long getNumFSyncs()
           
 long getNumLockTimeoutExceptions()
           
 long getNumNotResident()
           
 long getNumRandomReadBytes()
           
 long getNumRandomReads()
           
 long getNumRandomWriteBytes()
           
 long getNumRandomWrites()
           
 long getNumReadBytesTotal()
           
 long getNumReadsTotal()
           
 long getNumSequentialReadBytes()
           
 long getNumSequentialReads()
           
 long getNumSequentialWriteBytes()
           
 long getNumSequentialWrites()
           
 long getNumWriteBytesTotal()
           
 long getNumWritesTotal()
           
 double getPercentageBINMiss()
           
 double getPercentageCacheHits()
           
 double getPercentageCacheMisses()
           
 double getPercentageContended()
           
 double getPercentageINMiss()
           
 double getPercentageLNMiss()
           
 double getPercentageRandomReadBytes()
           
 double getPercentageRandomReads()
           
 double getPercentageRandomWriteBytes()
           
 double getPercentageReadBytes()
           
 double getPercentageReads()
           
 double getPercentageUtilization()
           
 double getPercentRandomWrites()
           
 long getTotalCacheSize()
           
 long getTotalSpace()
           
 long getTotalSpaceUtilized()
           
 java.lang.String getUtilizationSummaryAsString()
           
 void reportException(com.sleepycat.je.DatabaseException de)
           
static double safeGetPercentage(long rawNum, long total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BdbEnvironmentStats

public BdbEnvironmentStats(com.sleepycat.je.Environment environment,
                           com.sleepycat.je.Database database,
                           long ttlMs,
                           boolean exposeSpaceUtil)
Method Detail

getBtreeStatsUncached

public com.sleepycat.je.DatabaseStats getBtreeStatsUncached()
                                                     throws java.lang.Exception
Throws:
java.lang.Exception

reportException

public void reportException(com.sleepycat.je.DatabaseException de)

getFastStatsAsString

public java.lang.String getFastStatsAsString()

getNumCacheMiss

public long getNumCacheMiss()

getNumNotResident

public long getNumNotResident()

getTotalCacheSize

public long getTotalCacheSize()

getAllotedCacheSize

public long getAllotedCacheSize()

getEvictedLNs

public long getEvictedLNs()

getBINFetches

public long getBINFetches()

getBINFetchMisses

public long getBINFetchMisses()

getINFetches

public long getINFetches()

getINFetchMisses

public long getINFetchMisses()

getLNFetches

public long getLNFetches()

getLNFetchMisses

public long getLNFetchMisses()

getCachedBINs

public long getCachedBINs()

getCachedUpperINs

public long getCachedUpperINs()

getEvictedBINs

public long getEvictedBINs()

getEvictedINs

public long getEvictedINs()

getNumRandomWrites

public long getNumRandomWrites()

getNumRandomWriteBytes

public long getNumRandomWriteBytes()

getNumRandomReads

public long getNumRandomReads()

getNumRandomReadBytes

public long getNumRandomReadBytes()

getNumSequentialWrites

public long getNumSequentialWrites()

getNumSequentialWriteBytes

public long getNumSequentialWriteBytes()

getNumSequentialReads

public long getNumSequentialReads()

getNumSequentialReadBytes

public long getNumSequentialReadBytes()

getNumFSyncs

public long getNumFSyncs()

getNumCleanerEntriesRead

public long getNumCleanerEntriesRead()

getFileDeletionBacklog

public long getFileDeletionBacklog()

getFileDeletionBacklogBytes

public long getFileDeletionBacklogBytes()

getCleanerBacklog

public long getCleanerBacklog()

getNumCleanerRuns

public long getNumCleanerRuns()

getNumCleanerDeletions

public long getNumCleanerDeletions()

getNumCheckpoints

public long getNumCheckpoints()

getTotalSpace

public long getTotalSpace()

getTotalSpaceUtilized

public long getTotalSpaceUtilized()

getUtilizationSummaryAsString

public java.lang.String getUtilizationSummaryAsString()

getBtreeLatches

public long getBtreeLatches()

getNumAcquiresWithContention

public long getNumAcquiresWithContention()

getNumAcquiresNoWaiters

public long getNumAcquiresNoWaiters()

getNumExceptions

public long getNumExceptions()

getNumLockTimeoutExceptions

public long getNumLockTimeoutExceptions()

getNumEnvironmentFailureExceptions

public long getNumEnvironmentFailureExceptions()

getEntryCount

public long getEntryCount()
                   throws java.lang.Exception
Throws:
java.lang.Exception

getBtreeStats

public java.lang.String getBtreeStats()
                               throws java.lang.Exception
Throws:
java.lang.Exception

getNumWritesTotal

public long getNumWritesTotal()

getNumWriteBytesTotal

public long getNumWriteBytesTotal()

getPercentRandomWrites

public double getPercentRandomWrites()

getPercentageRandomWriteBytes

public double getPercentageRandomWriteBytes()

getNumReadsTotal

public long getNumReadsTotal()

getNumReadBytesTotal

public long getNumReadBytesTotal()

getPercentageRandomReads

public double getPercentageRandomReads()

getPercentageRandomReadBytes

public double getPercentageRandomReadBytes()

getPercentageReads

public double getPercentageReads()

getPercentageReadBytes

public double getPercentageReadBytes()

getPercentageCacheHits

@Experimental
public double getPercentageCacheHits()

getPercentageCacheMisses

@Experimental
public double getPercentageCacheMisses()

getPercentageContended

public double getPercentageContended()

getPercentageUtilization

public double getPercentageUtilization()

getPercentageBINMiss

public double getPercentageBINMiss()

getPercentageINMiss

public double getPercentageINMiss()

getPercentageLNMiss

public double getPercentageLNMiss()

safeGetPercentage

public static double safeGetPercentage(long rawNum,
                                       long total)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu