public class LogStats
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
int |
getCurFile() |
The current log file number.
|
int |
getCurOffset() |
The byte offset in the current log file.
|
int |
getDiskFile() |
The log file number of the last record known to be on disk.
|
int |
getDiskOffset() |
The byte offset of the last record known to be on disk.
|
int |
getFileidInit() |
The initial allocated file logging identifiers.
|
int |
getLgBSize() |
The in-memory log record cache size.
|
int |
getLgSize() |
The current log file size.
|
int |
getMagic() |
The magic number that identifies a file as a log file.
|
int |
getMaxCommitperflush() |
The maximum number of commits contained in a single log flush.
|
int |
getMaxNfileId() |
The maximum number of file logging identifiers used.
|
int |
getMinCommitperflush() |
The minimum number of commits contained in a single log flush that
contained a commit.
|
int |
getMode() |
The mode of any created log files.
|
int |
getNumFileId() |
The current number of file logging identifiers.
|
long |
getRCount() |
The number of times the log has been read from disk.
|
long |
getRecord() |
The number of records written to this log.
|
long |
getRegionNowait() |
The number of times that a thread of control was able to obtain
the log region mutex without waiting.
|
long |
getRegionWait() |
The number of times that a thread of control was forced to wait
before obtaining the log region mutex.
|
long |
getRegSize() |
The size of the region.
|
long |
getSCount() |
The number of times the log has been flushed to disk.
|
int |
getVersion() |
The version of the log file type.
|
int |
getWBytes() |
The number of bytes over and above
getWMbytes() written to this log. |
int |
getWcBytes() |
The number of bytes over and above
LogStats.getWcMbytes
written to this log since the last checkpoint. |
int |
getWcMbytes() |
The number of megabytes written to this log since the last checkpoint.
|
long |
getWCount() |
The number of times the log has been written to disk.
|
long |
getWCountFill() |
The number of times the log has been written to disk because the
in-memory log record cache filled up.
|
int |
getWMbytes() |
The number of megabytes written to this log.
|
java.lang.String |
toString() |
For convenience, the LogStats class has a toString method that lists
all the data fields.
|
public int getMagic()
public int getVersion()
public int getMode()
public int getLgBSize()
public int getLgSize()
public int getWcBytes()
LogStats.getWcMbytes
written to this log since the last checkpoint.LogStats.getWcMbytes
written to this log since the last checkpointpublic int getWcMbytes()
public int getFileidInit()
public int getNumFileId()
public int getMaxNfileId()
public long getRecord()
public int getWBytes()
getWMbytes()
written to this log.getWMbytes()
written to this logpublic int getWMbytes()
public long getWCount()
public long getWCountFill()
public long getRCount()
public long getSCount()
public long getRegionWait()
public long getRegionNowait()
public int getCurFile()
public int getCurOffset()
public int getDiskFile()
public int getDiskOffset()
public int getMaxCommitperflush()
public int getMinCommitperflush()
public long getRegSize()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.