public class CleanerLogSummary extends java.lang.Object implements Loggable
| Constructor and Description |
|---|
CleanerLogSummary() |
CleanerLogSummary(java.util.List<UtilizationCalculator.AverageSize> recentAvgLNSizes,
long endFileNumAtLastAdjustment,
int initialAdjustments) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpLog(java.lang.StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
boolean |
equals(java.lang.Object other) |
(package private) long |
getEndFileNumAtLastAdjustment() |
(package private) int |
getInitialAdjustments() |
int |
getLogSize() |
(package private) java.util.List<UtilizationCalculator.AverageSize> |
getRecentAvgLNSizes() |
long |
getTransactionId()
Not used.
|
int |
hashCode() |
boolean |
logicalEquals(Loggable other)
Not used.
|
void |
readFromLog(java.nio.ByteBuffer logBuffer,
int entryVersion)
Initialize this object from the data in itemBuf.
|
java.lang.String |
toString() |
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
public CleanerLogSummary(java.util.List<UtilizationCalculator.AverageSize> recentAvgLNSizes, long endFileNumAtLastAdjustment, int initialAdjustments)
public CleanerLogSummary()
java.util.List<UtilizationCalculator.AverageSize> getRecentAvgLNSizes()
long getEndFileNumAtLastAdjustment()
int getInitialAdjustments()
public int getLogSize()
getLogSize in interface Loggablepublic void writeToLog(java.nio.ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablelogBuffer - is the destination bufferpublic void readFromLog(java.nio.ByteBuffer logBuffer,
int entryVersion)
LoggablereadFromLog in interface Loggablepublic long getTransactionId()
getTransactionId in interface Loggablepublic boolean logicalEquals(Loggable other)
logicalEquals in interface Loggablepublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void dumpLog(java.lang.StringBuilder sb,
boolean verbose)
Loggablepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004-2012 Oracle. All rights reserved.