public class LogParams extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
auxOldLsn
Another LSN to be counted as obsolete in the LogContext.nodeDb database,
or NULL_LSN.
|
boolean |
backgroundIO
Whether the write should be counted as background IO when throttling of
background IO is configured.
|
LogEntry |
entry
Object to be marshaled and logged.
|
boolean |
flushRequired
Whether the log buffer(s) must be written to the file system.
|
boolean |
forceNewLogFile
Whether a new log file must be created for containing the logged
item(s).
|
boolean |
fsyncRequired
Whether an fsync must be performed after writing the item(s) to the log.
|
DatabaseImpl |
nodeDb
Database of the node(s), or null if entry is not a node.
|
boolean |
obsoleteDupsAllowed
Whether it is possible that the previous version of this log
entry is already marked obsolete.
|
Collection<WriteLockInfo> |
obsoleteWriteLockInfo
Set of obsolete LSNs which are counted when logging a commit entry.
|
long |
oldLsn
The previous version of the node to be counted as obsolete, or NULL_LSN
if the entry is not a node or has no old LSN.
|
int |
oldSize
For LNs, oldSize should be set along with oldLsn before logging.
|
PackedObsoleteInfo |
packedObsoleteInfo
Sequence of packed obsolete info which is counted when logging a
non-provisional IN.
|
Provisional |
provisional
Whether the logged entry should be processed during recovery.
|
ReplicationContext |
repContext
Whether the logged entry should be replicated.
|
| Constructor and Description |
|---|
LogParams() |
public DatabaseImpl nodeDb
public boolean flushRequired
public boolean forceNewLogFile
public boolean fsyncRequired
public boolean backgroundIO
public Collection<WriteLockInfo> obsoleteWriteLockInfo
public PackedObsoleteInfo packedObsoleteInfo
public boolean obsoleteDupsAllowed
public LogEntry entry
public long oldLsn
public int oldSize
public long auxOldLsn
public Provisional provisional
public ReplicationContext repContext
Copyright © 2024. All rights reserved.