com.sleepycat.je
Class PreloadStats

java.lang.Object
  extended by com.sleepycat.je.PreloadStats
All Implemented Interfaces:
Serializable

public class PreloadStats
extends Object
implements Serializable

Statistics returned from Database.preload

See Also:
Serialized Form

Constructor Summary
PreloadStats()
           
PreloadStats(int nINsLoaded, int nBINsLoaded, int nLNsLoaded, int nDINsLoaded, int nDBINsLoaded, int nDupCountLNsLoaded, PreloadStatus status)
           
 
Method Summary
 void addLNsLoaded(int newLNs)
           
 int getNBINsLoaded()
          Returns the number of BINs that were loaded into the cache during the preload() operation.
 int getNDBINsLoaded()
          Returns the number of DBINs that were loaded into the cache during the preload() operation.
 int getNDINsLoaded()
          Returns the number of DINs that were loaded into the cache during the preload() operation.
 int getNDupCountLNsLoaded()
          Returns the number of DupCountLNs that were loaded into the cache during the preload() operation.
 int getNINsLoaded()
          Returns the number of INs that were loaded into the cache during the preload() operation.
 int getNLNsLoaded()
          Returns the number of LNs that were loaded into the cache during the preload() operation.
 PreloadStatus getStatus()
          Returns the PreloadStatus value for the preload() operation.
 void incBINsLoaded()
           
 void incDBINsLoaded()
           
 void incDINsLoaded()
           
 void incDupCountLNsLoaded()
           
 void incINsLoaded()
           
 void incLNsLoaded()
           
 void setStatus(PreloadStatus status)
           
 String toString()
          Returns a String representation of the stats in the form of <stat>=<value>
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreloadStats

PreloadStats(int nINsLoaded,
             int nBINsLoaded,
             int nLNsLoaded,
             int nDINsLoaded,
             int nDBINsLoaded,
             int nDupCountLNsLoaded,
             PreloadStatus status)

PreloadStats

public PreloadStats()
Method Detail

getNINsLoaded

public int getNINsLoaded()
Returns the number of INs that were loaded into the cache during the preload() operation.


getNBINsLoaded

public int getNBINsLoaded()
Returns the number of BINs that were loaded into the cache during the preload() operation.


getNLNsLoaded

public int getNLNsLoaded()
Returns the number of LNs that were loaded into the cache during the preload() operation.


getNDINsLoaded

public int getNDINsLoaded()
Returns the number of DINs that were loaded into the cache during the preload() operation.


getNDBINsLoaded

public int getNDBINsLoaded()
Returns the number of DBINs that were loaded into the cache during the preload() operation.


getNDupCountLNsLoaded

public int getNDupCountLNsLoaded()
Returns the number of DupCountLNs that were loaded into the cache during the preload() operation.


getStatus

public PreloadStatus getStatus()
Returns the PreloadStatus value for the preload() operation.


incINsLoaded

public void incINsLoaded()

incBINsLoaded

public void incBINsLoaded()

incLNsLoaded

public void incLNsLoaded()

addLNsLoaded

public void addLNsLoaded(int newLNs)

incDINsLoaded

public void incDINsLoaded()

incDBINsLoaded

public void incDBINsLoaded()

incDupCountLNsLoaded

public void incDupCountLNsLoaded()

setStatus

public void setStatus(PreloadStatus status)

toString

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

Overrides:
toString in class Object


Copyright (c) 2004-2010 Oracle. All rights reserved.