|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.cleaner.DbFileSummary
public class DbFileSummary
Per-DB-per-file utilization counters. The DatabaseImpl stores a persistent map of file number to DbFileSummary.
Field Summary | |
---|---|
int |
obsoleteINCount
|
int |
obsoleteLNCount
|
int |
obsoleteLNSize
|
int |
obsoleteLNSizeCounted
|
int |
totalINCount
|
int |
totalINSize
|
int |
totalLNCount
|
int |
totalLNSize
|
Constructor Summary | |
---|---|
DbFileSummary()
Creates an empty summary. |
Method Summary | |
---|---|
void |
add(DbFileSummary o)
Add the totals of the given summary object to the totals of this object. |
void |
dumpLog(StringBuilder buf,
boolean verbose)
Write the object into the string buffer for log dumping. |
int |
getLogSize()
|
long |
getTransactionId()
Never called. |
boolean |
logicalEquals(Loggable other)
|
void |
readFromLog(ByteBuffer buf,
int entryTypeVersion)
Initialize this object from the data in itemBuf. |
String |
toString()
|
void |
writeToLog(ByteBuffer buf)
Serialize this object into the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int totalINCount
public int totalINSize
public int totalLNCount
public int totalLNSize
public int obsoleteINCount
public int obsoleteLNCount
public int obsoleteLNSize
public int obsoleteLNSizeCounted
Constructor Detail |
---|
public DbFileSummary()
Method Detail |
---|
public void add(DbFileSummary o)
public int getLogSize()
getLogSize
in interface Loggable
Loggable.getLogSize()
public void writeToLog(ByteBuffer buf)
Loggable
writeToLog
in interface Loggable
buf
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer buf, int entryTypeVersion)
Loggable
readFromLog
in interface Loggable
Loggable.readFromLog(java.nio.ByteBuffer, int)
public void dumpLog(StringBuilder buf, boolean verbose)
Loggable
dumpLog
in interface Loggable
buf
- destination string bufferverbose
- if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuilder, boolean)
public long getTransactionId()
getTransactionId
in interface Loggable
Loggable.getTransactionId()
public boolean logicalEquals(Loggable other)
logicalEquals
in interface Loggable
Always return false, this item should never be compared.
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |