Package | Description |
---|---|
org.objectweb.howl.log |
Core functionality for any log file implementation.
|
org.objectweb.howl.log.xa |
Provides public logger classes customized for use with XA Transaction
Managers.
|
Modifier and Type | Method and Description |
---|---|
LogRecord |
Logger.get(LogRecord lr,
long mark)
Read a specific record from the log.
|
void |
Logger.open()
open Log files and perform necessart initialization.
|
void |
Logger.replay(ReplayListener listener)
Replays log from the active mark forward to the current position.
|
void |
Logger.replay(ReplayListener listener,
long mark)
Replays log from a specified mark forward to the current mark.
|
protected void |
Logger.replay(ReplayListener listener,
long mark,
boolean replayCtrlRecords)
Allows sub-classes of Logger to replay control records.
|
void |
Configuration.setBufferSize(int bufferSize) |
void |
Configuration.setLogFileMode(String logFileMode) |
void |
Configuration.setMaxBuffers(int maxBuffers) |
void |
Configuration.setMinBuffers(int minBuffers) |
Constructor and Description |
---|
Configuration(File propertyFile)
Construct a Configuration object using a Properties
file specified by the caller.
|
Configuration(Properties prop)
Construct a Configuration object using a Properties
object supplied by the caller.
|
Modifier and Type | Method and Description |
---|---|
void |
XALogger.open(ReplayListener listener)
calls super.open() to perform standard open functionality then
replays the log to rebuild the activeTx table.
|
void |
XALogger.replay(ReplayListener listener)
Wrapp Logger#replay(ReplayListener) so we can
intercept onRecord() notifications to process
XACOMMIT and XACOMMITMOVED records.
|
void |
XALogger.replay(ReplayListener listener,
long key)
Wrapp Logger#replay(ReplayListener, long) so we can
intercept onRecord() notifications to process
XACOMMIT and XACOMMITMOVED records.
|
Copyright © 2013 ObjectWeb HOWL. All rights reserved.