public class PreloadStats
extends java.lang.Object
implements java.io.Serializable
Database.preload
or Environment.preload(com.sleepycat.je.Database[], com.sleepycat.je.PreloadConfig)
.Constructor and Description |
---|
PreloadStats() |
PreloadStats(int nINsLoaded,
int nBINsLoaded,
int nLNsLoaded,
int nDINsLoaded,
int nDBINsLoaded,
int nDupCountLNsLoaded,
int nCountMemoryExceeded,
PreloadStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
addLNsLoaded(int newLNs) |
int |
getNBINsLoaded()
Returns the number of BINs that were loaded into the cache during the
preload() operation.
|
int |
getNCountMemoryExceeded()
Returns the count of the number of times that the internal memory budget
specified by
PreloadConfig.setInternalMemoryLimit() was exceeded. |
int |
getNDBINsLoaded()
Deprecated.
returns zero for data written using JE 5.0 and later, but
may return non-zero values when reading older data.
|
int |
getNDINsLoaded()
Deprecated.
returns zero for data written using JE 5.0 and later, but
may return non-zero values when reading older data.
|
int |
getNDupCountLNsLoaded()
Deprecated.
returns zero for data written using JE 5.0 and later, but
may return non-zero values when reading older data.
|
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 |
incMemoryExceeded() |
void |
setStatus(PreloadStatus status) |
java.lang.String |
toString()
Returns a String representation of the stats in the form of
<stat>=<value>
|
PreloadStats(int nINsLoaded, int nBINsLoaded, int nLNsLoaded, int nDINsLoaded, int nDBINsLoaded, int nDupCountLNsLoaded, int nCountMemoryExceeded, PreloadStatus status)
public PreloadStats()
public int getNINsLoaded()
public int getNBINsLoaded()
public int getNLNsLoaded()
public int getNDINsLoaded()
public int getNDBINsLoaded()
public int getNDupCountLNsLoaded()
public int getNCountMemoryExceeded()
PreloadConfig.setInternalMemoryLimit()
was exceeded.public PreloadStatus getStatus()
public void incINsLoaded()
public void incBINsLoaded()
public void incLNsLoaded()
public void addLNsLoaded(int newLNs)
public void incDINsLoaded()
public void incDBINsLoaded()
public void incDupCountLNsLoaded()
public void incMemoryExceeded()
public void setStatus(PreloadStatus status)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2004-2012 Oracle. All rights reserved.