Berkeley DB Java Edition
version 1.5.1

com.sleepycat.je
Class EnvironmentStats

java.lang.Object
  |
  +--com.sleepycat.je.EnvironmentStats

public class EnvironmentStats
extends Object

System wide statistics for a single environment.


Method Summary
 long getBufferBytes()
          The total memory currently consumed by log buffers, in bytes.
 long getCacheDataBytes()
          The amount of JE cache used for holding data, in bytes.
 long getCacheTotalBytes()
          The amount of JE cache in use, in bytes.
 int getCursorsBins()
          The number of bins encountered by the INCompressor that had cursors referring to them when the compressor ran.
 int getDbClosedBins()
          The number of bins encountered by the INCompressor that had their database closed between the time they were put on the compressor queue and when the compressor ran.
 int getInCompQueueSize()
          The number of entries in the INCompressor queue when the getStats() call was made.
 long getLastCheckpointId()
          The Id of the last checkpoint.
 long getNCacheMiss()
          The total number of requests for database objects which were not in memory.
 int getNCheckpoints()
          The total number of checkpoints run so far.
 int getNCleanerRuns()
          The number of cleaner runs this session.
 int getNDeltaINFlush()
          The accumulated number of Delta INs flushed to the log.
 int getNDeltasCleaned()
          The accumulated number of delta BINs that were cleaned.
 int getNEvictPasses()
          The number of passes made to the evictor.
 long getNFSyncRequests()
          The number of fsyncs requested through the group commit manager.
 long getNFSyncs()
          The number of fsyncs issued through the group commit manager.
 long getNFSyncTimeouts()
          The number of fsync requests submitted to the group commit manager which timed out.
 int getNFullINFlush()
          The accumulated number of full INs flushed to the log.
 int getNINsCleaned()
          The accumulated number of INs cleaned.
 int getNINsMigrated()
          The accumulated number of INs migrated.
 int getNLNsCleaned()
          The accumulated number of LNs cleaned.
 int getNLNsDead()
          The accumulated number of LNs that were not found in the tree anymore (deleted).
 int getNLNsLocked()
          The accumulated number of LNs encountered that were locked.
 int getNLNsMigrated()
          The accumulated number of LNs encountered that were migrated forward in the log.
 int getNLogBuffers()
          The number of log buffers currently instantiated.
 long getNNodesExplicitlyEvicted()
          The accumulated number of nodes evicted.
 long getNNodesScanned()
          The accumulated number of nodes scanned in order to select the eviction set.
 long getNNodesSelected()
          The accumulated number of nodes selected to evict.
 long getNNotResident()
          The number of requests for database objects not contained within the in memory data structures.
 int getNonEmptyBins()
          The number of bins encountered by the INCompressor that were not actually empty when the compressor ran.
 int getProcessedBins()
          The number of bins that were successfully processed by the IN Compressor.
 int getSplitBins()
          The number of bins encountered by the INCompressor that were split between the time they were put on the compressor queue and when the compressor ran.
 String toString()
          Returns a String representation of the stats in the form of <stat>=<value>
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBufferBytes

public long getBufferBytes()
The total memory currently consumed by log buffers, in bytes.


getCursorsBins

public int getCursorsBins()
The number of bins encountered by the INCompressor that had cursors referring to them when the compressor ran.


getDbClosedBins

public int getDbClosedBins()
The number of bins encountered by the INCompressor that had their database closed between the time they were put on the compressor queue and when the compressor ran.


getInCompQueueSize

public int getInCompQueueSize()
The number of entries in the INCompressor queue when the getStats() call was made.


getLastCheckpointId

public long getLastCheckpointId()
The Id of the last checkpoint.


getNCacheMiss

public long getNCacheMiss()
The total number of requests for database objects which were not in memory.


getNCheckpoints

public int getNCheckpoints()
The total number of checkpoints run so far.


getNCleanerRuns

public int getNCleanerRuns()
The number of cleaner runs this session.


getNDeltaINFlush

public int getNDeltaINFlush()
The accumulated number of Delta INs flushed to the log.


getNDeltasCleaned

public int getNDeltasCleaned()
The accumulated number of delta BINs that were cleaned.


getNEvictPasses

public int getNEvictPasses()
The number of passes made to the evictor.


getNFSyncs

public long getNFSyncs()
The number of fsyncs issued through the group commit manager.


getNFSyncRequests

public long getNFSyncRequests()
The number of fsyncs requested through the group commit manager.


getNFSyncTimeouts

public long getNFSyncTimeouts()
The number of fsync requests submitted to the group commit manager which timed out.


getNFullINFlush

public int getNFullINFlush()
The accumulated number of full INs flushed to the log.


getNINsCleaned

public int getNINsCleaned()
The accumulated number of INs cleaned.


getNINsMigrated

public int getNINsMigrated()
The accumulated number of INs migrated.


getNLNsCleaned

public int getNLNsCleaned()
The accumulated number of LNs cleaned.


getNLNsDead

public int getNLNsDead()
The accumulated number of LNs that were not found in the tree anymore (deleted).


getNLNsLocked

public int getNLNsLocked()
The accumulated number of LNs encountered that were locked.


getNLNsMigrated

public int getNLNsMigrated()
The accumulated number of LNs encountered that were migrated forward in the log.


getNLogBuffers

public int getNLogBuffers()
The number of log buffers currently instantiated.


getNNodesExplicitlyEvicted

public long getNNodesExplicitlyEvicted()
The accumulated number of nodes evicted.


getNNodesScanned

public long getNNodesScanned()
The accumulated number of nodes scanned in order to select the eviction set.


getNNodesSelected

public long getNNodesSelected()
The accumulated number of nodes selected to evict.


getCacheTotalBytes

public long getCacheTotalBytes()
The amount of JE cache in use, in bytes.


getCacheDataBytes

public long getCacheDataBytes()
The amount of JE cache used for holding data, in bytes.


getNNotResident

public long getNNotResident()
The number of requests for database objects not contained within the in memory data structures.


getNonEmptyBins

public int getNonEmptyBins()
The number of bins encountered by the INCompressor that were not actually empty when the compressor ran.


getProcessedBins

public int getProcessedBins()
The number of bins that were successfully processed by the IN Compressor.


getSplitBins

public int getSplitBins()
The number of bins encountered by the INCompressor that were split between the time they were put on the compressor queue and when the compressor ran.


toString

public String toString()
Returns a String representation of the stats in the form of <stat>=<value>

Overrides:
toString in class Object

Berkeley DB Java Edition
version 1.5.1

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.