|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.cleaner.CleanerLogSummary
public class CleanerLogSummary
Persistent form of log summary information, which currently is only the utilization correction info maintained by UtilizationCalculator, and is logged as part of the CheckpointEnd log entry.
Constructor Summary | |
---|---|
CleanerLogSummary()
|
|
CleanerLogSummary(List<UtilizationCalculator.AverageSize> recentAvgLNSizes,
long endFileNumAtLastAdjustment,
int initialAdjustments)
|
Method Summary | |
---|---|
void |
dumpLog(StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
boolean |
equals(Object other)
|
(package private) long |
getEndFileNumAtLastAdjustment()
|
(package private) int |
getInitialAdjustments()
|
int |
getLogSize()
|
(package private) List<UtilizationCalculator.AverageSize> |
getRecentAvgLNSizes()
|
long |
getTransactionId()
Not used. |
int |
hashCode()
|
boolean |
logicalEquals(Loggable other)
Not used. |
void |
readFromLog(ByteBuffer logBuffer,
int entryVersion)
Initialize this object from the data in itemBuf. |
String |
toString()
|
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CleanerLogSummary(List<UtilizationCalculator.AverageSize> recentAvgLNSizes, long endFileNumAtLastAdjustment, int initialAdjustments)
public CleanerLogSummary()
Method Detail |
---|
List<UtilizationCalculator.AverageSize> getRecentAvgLNSizes()
long getEndFileNumAtLastAdjustment()
int getInitialAdjustments()
public int getLogSize()
getLogSize
in interface Loggable
public void writeToLog(ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
logBuffer
- is the destination bufferpublic void readFromLog(ByteBuffer logBuffer, int entryVersion)
Loggable
readFromLog
in interface Loggable
public long getTransactionId()
getTransactionId
in interface Loggable
public boolean logicalEquals(Loggable other)
logicalEquals
in interface Loggable
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void dumpLog(StringBuilder sb, boolean verbose)
Loggable
dumpLog
in interface Loggable
sb
- destination string bufferverbose
- if true, dump the full, verbose versionpublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |