public class PreloadStats extends Object implements Serializable
Database.preload
or Environment.preload(com.sleepycat.je.Database[], com.sleepycat.je.PreloadConfig)
.Constructor and Description |
---|
PreloadStats() |
Modifier and Type | Method and Description |
---|---|
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 |
getNEmbeddedLNs()
Returns the number of embedded LNNs encountered 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 |
incEmbeddedLNs() |
void |
incINsLoaded() |
void |
incLNsLoaded() |
void |
incMemoryExceeded() |
void |
setStatus(PreloadStatus status) |
String |
toString()
Returns a String representation of the stats in the form of
<stat>=<value>
|
public int getNINsLoaded()
public int getNBINsLoaded()
public int getNLNsLoaded()
public int getNEmbeddedLNs()
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 incEmbeddedLNs()
public void incDINsLoaded()
public void incDBINsLoaded()
public void incDupCountLNsLoaded()
public void incMemoryExceeded()
public void setStatus(PreloadStatus status)
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.