|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.cleaner.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. |
int |
getLogSize()
|
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(int fileIndex,
UtilizationProfile profile)
Returns an estimate of the total bytes that are obsolete. |
boolean |
isEmpty()
Returns whether this summary contains any non-zero totals. |
void |
readFromLog(ByteBuffer buf)
|
void |
reset()
Reset all totals to zero. |
String |
toString()
|
void |
writeToLog(ByteBuffer buf)
|
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(int fileIndex, UtilizationProfile profile) throws DatabaseException
fileIndex
- file number from 0 to (nFiles - 1).
DatabaseException
public void reset()
public void add(FileSummary o)
public int getLogSize()
public void writeToLog(ByteBuffer buf)
public void readFromLog(ByteBuffer buf)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |