|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.cleaner.FileSummary
public class FileSummary
| Field Summary | |
|---|---|
int |
obsoleteINCount
|
int |
obsoleteLNCount
|
int |
totalCount
|
int |
totalINCount
|
int |
totalINSize
|
int |
totalLNCount
|
int |
totalLNSize
|
int |
totalSize
|
| Constructor Summary | |
|---|---|
FileSummary()
Creates an empty summary. |
|
| Method Summary | |
|---|---|
void |
add(FileSummary o)
Add the totals of the given summary object to the totals of this object. |
void |
dumpLog(StringBuffer buf,
boolean verbose)
Write the object into the string buffer for log dumping. |
int |
getEntriesCounted()
Returns the total number of entries counted. |
int |
getLogSize()
|
int |
getNonObsoleteCount()
Returns the number of non-obsolete LN and IN entries. |
int |
getObsoleteINSize()
Returns the approximate byte size of all obsolete IN entries. |
int |
getObsoleteLNSize()
Returns the approximate byte size of all obsolete LN entries. |
int |
getObsoleteSize()
Returns an estimate of the total bytes that are obsolete. |
long |
getTransactionId()
Never called. |
boolean |
isEmpty()
Returns whether this summary contains any non-zero totals. |
boolean |
logEntryIsTransactional()
Never called. |
void |
readFromLog(ByteBuffer buf,
byte entryTypeVersion)
Initialize this object from the data in itemBuf. |
void |
reset()
Reset all totals to zero. |
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 totalCount
public int totalSize
public int totalINCount
public int totalINSize
public int totalLNCount
public int totalLNSize
public int obsoleteINCount
public int obsoleteLNCount
| Constructor Detail |
|---|
public FileSummary()
| Method Detail |
|---|
public boolean isEmpty()
public int getObsoleteLNSize()
public int getObsoleteINSize()
public int getObsoleteSize()
throws DatabaseException
DatabaseExceptionpublic int getEntriesCounted()
public int getNonObsoleteCount()
public void reset()
public void add(FileSummary o)
public int getLogSize()
getLogSize in interface LogWritableLogWritable.getLogSize()public void writeToLog(ByteBuffer buf)
LogWritable
writeToLog in interface LogWritablebuf - is the destination bufferLogWritable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer buf,
byte entryTypeVersion)
LogReadable
readFromLog in interface LogReadableLogReadable.readFromLog(java.nio.ByteBuffer, byte)
public void dumpLog(StringBuffer buf,
boolean verbose)
LogReadable
dumpLog in interface LogReadablebuf - destination string bufferverbose - if true, dump the full, verbose versionLogReadable.dumpLog(java.lang.StringBuffer, boolean)public long getTransactionId()
getTransactionId in interface LogReadableLogReadable.getTransactionId()public boolean logEntryIsTransactional()
logEntryIsTransactional in interface LogReadableLogReadable.logEntryIsTransactional()public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||