Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
K
L
M
O
P
R
S
T
U
V
W
X
A
activeTxDisplay()
- Method in class org.objectweb.howl.log.xa.
XALogger
displays entries in the activeTx table.
C
capacity()
- Method in class org.objectweb.howl.log.
LogRecord
close()
- Method in class org.objectweb.howl.log.
Logger
close the Log files and perform necessary cleanup tasks.
CLOSE
- Static variable in interface org.objectweb.howl.log.
LogRecordType
recorded by Logger to signal a clean close on the log.
close()
- Method in class org.objectweb.howl.log.xa.
XALogger
Configuration
- Class in
org.objectweb.howl.log
Provides configuration information for a
Logger
instance.
Configuration()
- Constructor for class org.objectweb.howl.log.
Configuration
Construct a Configuration object with default values.
Configuration(Properties)
- Constructor for class org.objectweb.howl.log.
Configuration
Construct a Configuration object using a Properties object supplied by the caller.
Configuration(File)
- Constructor for class org.objectweb.howl.log.
Configuration
Construct a Configuration object using a Properties file specified by the caller.
ConfigurationMBean
- Interface in
org.objectweb.howl.log
CTRL
- Static variable in interface org.objectweb.howl.log.
LogRecordType
Log records generated by Logger.
D
data
- Variable in class org.objectweb.howl.log.
LogRecord
byte[] containing unparsed record data.
dataBuffer
- Variable in class org.objectweb.howl.log.
LogRecord
ByteBuffer wrapper for the data byte[].
DEBUG
- Static variable in interface org.objectweb.howl.log.
LogEventListener
used to log low level events.
E
END_OF_LOG
- Static variable in interface org.objectweb.howl.log.
LogRecordType
Type indicating that end of log has been reached.
EOB
- Static variable in interface org.objectweb.howl.log.
LogRecordType
Type returned by get() methods to signal end of buffer.
ERROR
- Static variable in interface org.objectweb.howl.log.
LogEventListener
used to log non-fatal error messages.
F
FATAL
- Static variable in interface org.objectweb.howl.log.
LogEventListener
used to log fatal error messages that should cause shutdown of the application using HOWL.
fields
- Variable in class org.objectweb.howl.log.
LogRecord
array of individual record fields as passed to Logger.put(byte[][])
FILE_HEADER
- Static variable in interface org.objectweb.howl.log.
LogRecordType
Header records generated at start of every log file.
G
get(LogRecord, long)
- Method in class org.objectweb.howl.log.
Logger
Read a specific record from the log.
get(LogBuffer)
- Method in class org.objectweb.howl.log.
LogRecord
protected method to copy next logical record from the LogBuffer specified by the callers
lb
parameter.
getActiveMark()
- Method in class org.objectweb.howl.log.
Logger
getActiveTxUsed()
- Method in class org.objectweb.howl.log.xa.
XALogger
Used by TM and test cases to obtain the number of entries in the activeTx table.
getBufferClassName()
- Method in class org.objectweb.howl.log.
Configuration
getBufferClassName()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getBufferSize()
- Method in class org.objectweb.howl.log.
Configuration
Returns the size of buffers specified as a number of 1K blocks.
getBufferSize()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getFields()
- Method in class org.objectweb.howl.log.
LogRecord
Parse record data into a byte[][] that is equivalent to the one passed to Logger.put(byte[][]).
getFlushSleepTime()
- Method in class org.objectweb.howl.log.
Configuration
getFlushSleepTime()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getLogFileDir()
- Method in class org.objectweb.howl.log.
Configuration
getLogFileDir()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getLogFileExt()
- Method in class org.objectweb.howl.log.
Configuration
getLogFileExt()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getLogFileMode()
- Method in class org.objectweb.howl.log.
Configuration
getLogFileMode()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getLogFileName()
- Method in class org.objectweb.howl.log.
Configuration
getLogFileName()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getLogKey()
- Method in class org.objectweb.howl.log.xa.
XACommittingTx
getLogRecord()
- Method in interface org.objectweb.howl.log.
ReplayListener
Called by Logger when ReplayListener is registered for replay.
getMaxBlocksPerFile()
- Method in class org.objectweb.howl.log.
Configuration
getMaxBlocksPerFile()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getMaxBuffers()
- Method in class org.objectweb.howl.log.
Configuration
getMaxBuffers()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getMaxLogFiles()
- Method in class org.objectweb.howl.log.
Configuration
getMaxLogFiles()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getMinBuffers()
- Method in class org.objectweb.howl.log.
Configuration
getMinBuffers()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getNext(LogRecord)
- Method in class org.objectweb.howl.log.
Logger
Read the journal record that follows the record identified by lr.
getRecord()
- Method in class org.objectweb.howl.log.xa.
XACommittingTx
returns the byte[][] containing the COMMIT record data.
getStats()
- Method in class org.objectweb.howl.log.
Logger
return an XML node containing statistics for the Logger, the LogFile pool and the LogBuffer pool.
getStats()
- Method in class org.objectweb.howl.log.xa.
XALogger
return an XML node containing statistics for this object along with the base Logger, the LogFile pool and the LogBuffer pool.
getThreadsWaitingForceThreshold()
- Method in class org.objectweb.howl.log.
Configuration
getThreadsWaitingForceThreshold()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
getTx()
- Method in class org.objectweb.howl.log.xa.
XALogRecord
I
INFO
- Static variable in interface org.objectweb.howl.log.
LogEventListener
used to log information messages such as file open/close.
InitLog
- Class in
org.objectweb.howl.log.util
InitLog()
- Constructor for class org.objectweb.howl.log.util.
InitLog
InvalidFileSetException
- Exception in
org.objectweb.howl.log
Exception thrown when LogFileManager.open() detects an invalid file set.
InvalidFileSetException()
- Constructor for exception org.objectweb.howl.log.
InvalidFileSetException
InvalidFileSetException(String)
- Constructor for exception org.objectweb.howl.log.
InvalidFileSetException
InvalidFileSetException(Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidFileSetException
InvalidFileSetException(String, Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidFileSetException
InvalidLogBufferException
- Exception in
org.objectweb.howl.log
Exception thrown when Logger detects a journal block with invalid content.
InvalidLogBufferException()
- Constructor for exception org.objectweb.howl.log.
InvalidLogBufferException
InvalidLogBufferException(String)
- Constructor for exception org.objectweb.howl.log.
InvalidLogBufferException
InvalidLogBufferException(Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidLogBufferException
InvalidLogBufferException(String, Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidLogBufferException
InvalidLogHeaderException
- Exception in
org.objectweb.howl.log
Exception thrown when XAJournalReader detects a journal block with an invalid header.
InvalidLogHeaderException()
- Constructor for exception org.objectweb.howl.log.
InvalidLogHeaderException
InvalidLogHeaderException(String)
- Constructor for exception org.objectweb.howl.log.
InvalidLogHeaderException
InvalidLogHeaderException(Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidLogHeaderException
InvalidLogHeaderException(String, Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidLogHeaderException
InvalidLogKeyException
- Exception in
org.objectweb.howl.log
Exception thrown when XAJournalReader detects a journal block with an invalid header.
InvalidLogKeyException()
- Constructor for exception org.objectweb.howl.log.
InvalidLogKeyException
InvalidLogKeyException(String)
- Constructor for exception org.objectweb.howl.log.
InvalidLogKeyException
InvalidLogKeyException(Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidLogKeyException
InvalidLogKeyException(String, Throwable)
- Constructor for exception org.objectweb.howl.log.
InvalidLogKeyException
isChecksumEnabled()
- Method in class org.objectweb.howl.log.
Configuration
isChecksumEnabled()
- Method in interface org.objectweb.howl.log.
ConfigurationMBean
isClosed
- Variable in class org.objectweb.howl.log.
Logger
indicates whether the LogFile is open.
isCommit()
- Method in class org.objectweb.howl.log.xa.
XALogRecord
isCTRL()
- Method in class org.objectweb.howl.log.
LogRecord
Return true if the current record is a control record.
isDone()
- Method in class org.objectweb.howl.log.xa.
XACommittingTx
returns
done
as maintained by XALogger.putCommit() and XALogger.putDone().
isEOB()
- Method in class org.objectweb.howl.log.
LogRecord
Return true if current record is an EOB type control record.
isFlushPartialBuffers()
- Method in class org.objectweb.howl.log.
Configuration
isLoggable(int)
- Method in interface org.objectweb.howl.log.
LogEventListener
determine if log messages for requested level will be written to the log.
isLoggable(int)
- Method in class org.objectweb.howl.log.xa.
XALogger
implements LogEventListener#isLoggable().
isMoving()
- Method in class org.objectweb.howl.log.xa.
XACommittingTx
K
key
- Variable in class org.objectweb.howl.log.
LogRecord
log key associated with this LogRecord.
L
length
- Variable in class org.objectweb.howl.log.
LogRecord
length of the data record.
log(int, String)
- Method in interface org.objectweb.howl.log.
LogEventListener
write a log message to the event log.
log(int, String, Throwable)
- Method in interface org.objectweb.howl.log.
LogEventListener
write a log message to the event log with exception information.
log(int, String)
- Method in class org.objectweb.howl.log.xa.
XALogger
delegates log request to the callers event listener.
log(int, String, Throwable)
- Method in class org.objectweb.howl.log.xa.
XALogger
delegates log request to the callers event listener.
LogClosedException
- Exception in
org.objectweb.howl.log
Checked exception thrown when
put
is called after the log has been closed.
LogClosedException()
- Constructor for exception org.objectweb.howl.log.
LogClosedException
Constructs an instance of this class.
LogClosedException(String)
- Constructor for exception org.objectweb.howl.log.
LogClosedException
LogClosedException(Throwable)
- Constructor for exception org.objectweb.howl.log.
LogClosedException
LogClosedException(String, Throwable)
- Constructor for exception org.objectweb.howl.log.
LogClosedException
LogConfigurationException
- Exception in
org.objectweb.howl.log
LogConfigurationException()
- Constructor for exception org.objectweb.howl.log.
LogConfigurationException
LogConfigurationException(String)
- Constructor for exception org.objectweb.howl.log.
LogConfigurationException
LogConfigurationException(Throwable)
- Constructor for exception org.objectweb.howl.log.
LogConfigurationException
LogConfigurationException(String, Throwable)
- Constructor for exception org.objectweb.howl.log.
LogConfigurationException
LogEventListener
- Interface in
org.objectweb.howl.log
This interface is implemented by users of the Logger.
LogException
- Exception in
org.objectweb.howl.log
Base exception class for HOWL exceptions.
LogException()
- Constructor for exception org.objectweb.howl.log.
LogException
LogException(String)
- Constructor for exception org.objectweb.howl.log.
LogException
LogException(Throwable)
- Constructor for exception org.objectweb.howl.log.
LogException
LogException(String, Throwable)
- Constructor for exception org.objectweb.howl.log.
LogException
LogFileOverflowException
- Exception in
org.objectweb.howl.log
Checked exception thrown when the Logger attempts to switch to an alternate log file that contains the active mark.
LogFileOverflowException()
- Constructor for exception org.objectweb.howl.log.
LogFileOverflowException
Constructs an instance of this class.
LogFileOverflowException(long, long, File)
- Constructor for exception org.objectweb.howl.log.
LogFileOverflowException
Construct an exception with message describing the problem
Logger
- Class in
org.objectweb.howl.log
Manage a configured set of two or more physical log files.
Logger()
- Constructor for class org.objectweb.howl.log.
Logger
Construct a Logger using default Configuration object.
Logger(Configuration)
- Constructor for class org.objectweb.howl.log.
Logger
Construct a Logger using a Configuration supplied by the caller.
logOverflowNotification(long)
- Method in interface org.objectweb.howl.log.
LogEventListener
Called by Logger to notify the LogEventListener that a log file overflow is approaching.
logOverflowNotification(long)
- Method in class org.objectweb.howl.log.xa.
XALogger
called by Logger when log file is about to overflow.
LogRecord
- Class in
org.objectweb.howl.log
LogRecord class used by Logger.replay().
LogRecord(int)
- Constructor for class org.objectweb.howl.log.
LogRecord
constructs an instance of LogRecord with a byte[] of
size
data.
LogRecordSizeException
- Exception in
org.objectweb.howl.log
Checked exception thrown when the byte[] passed to
put
is larger than the configured buffer size.
LogRecordSizeException()
- Constructor for exception org.objectweb.howl.log.
LogRecordSizeException
Constructs an instance of this class.
LogRecordSizeException(int)
- Constructor for exception org.objectweb.howl.log.
LogRecordSizeException
Constructs an instance of this class with specified description.
LogRecordType
- Interface in
org.objectweb.howl.log
Define record types used by Logger implementations.
M
main(String[])
- Static method in class org.objectweb.howl.log.util.
InitLog
main(String[])
- Static method in class org.objectweb.howl.log.
Version
mark(long, boolean)
- Method in class org.objectweb.howl.log.
Logger
sets the LogFile's mark.
mark(long)
- Method in class org.objectweb.howl.log.
Logger
calls Logger.mark(key, force) with
force
set to
true
.
MARKKEY
- Static variable in interface org.objectweb.howl.log.
LogRecordType
Log records containing mark data.
O
onError(LogException)
- Method in interface org.objectweb.howl.log.
ReplayListener
Called by Logger when an exception is encountered during replay.
onRecord(LogRecord)
- Method in interface org.objectweb.howl.log.
ReplayListener
Called by Logger for each record retrieved from the log.
open()
- Method in class org.objectweb.howl.log.
Logger
open Log files and perform necessart initialization.
open()
- Method in class org.objectweb.howl.log.xa.
XALogger
Not supported for XALogger.
open(ReplayListener)
- Method in class org.objectweb.howl.log.xa.
XALogger
calls super.open() to perform standard open functionality then replays the log to rebuild the activeTx table.
org.objectweb.howl.log
- package org.objectweb.howl.log
Core functionality for any log file implementation.
org.objectweb.howl.log.util
- package org.objectweb.howl.log.util
Log file utility routines such as initialize, validate, and file dump.
org.objectweb.howl.log.xa
- package org.objectweb.howl.log.xa
Provides public logger classes customized for use with XA Transaction Managers.
P
put(byte[][], boolean)
- Method in class org.objectweb.howl.log.
Logger
add a USER record consisting of byte[][] to log.
put(byte[], boolean)
- Method in class org.objectweb.howl.log.
Logger
add a USER record consisting of byte[] to the log.
put(short, byte[][], boolean)
- Method in class org.objectweb.howl.log.
Logger
Sub-classes call this method to write log records with a specific record type.
put(byte[], boolean)
- Method in class org.objectweb.howl.log.xa.
XALogger
add a USER record consisting of byte[] to the log.
put(byte[][], boolean)
- Method in class org.objectweb.howl.log.xa.
XALogger
add a USER record consisting of byte[][] to the log.
putCommit(byte[][])
- Method in class org.objectweb.howl.log.xa.
XALogger
Write a begin COMMIT record to the log.
putDone(byte[][], XACommittingTx)
- Method in class org.objectweb.howl.log.xa.
XALogger
Write a DONE record to the log.
R
replay(ReplayListener, long)
- Method in class org.objectweb.howl.log.
Logger
Replays log from a specified mark forward to the current mark.
replay(ReplayListener)
- Method in class org.objectweb.howl.log.
Logger
Replays log from the active mark forward to the current position.
replay(ReplayListener, long, boolean)
- Method in class org.objectweb.howl.log.
Logger
Allows sub-classes of Logger to replay control records.
replay(ReplayListener)
- Method in class org.objectweb.howl.log.xa.
XALogger
Wrapp Logger#replay(ReplayListener) so we can intercept onRecord() notifications to process XACOMMIT and XACOMMITMOVED records.
replay(ReplayListener, long)
- Method in class org.objectweb.howl.log.xa.
XALogger
Wrapp Logger#replay(ReplayListener, long) so we can intercept onRecord() notifications to process XACOMMIT and XACOMMITMOVED records.
replayActiveTx(ReplayListener)
- Method in class org.objectweb.howl.log.xa.
XALogger
Called by the TM to receive copies of the active transaction entries.
ReplayListener
- Interface in
org.objectweb.howl.log
Objects that wish to read a log must implement the ReplayListener interface.
RESTART
- Static variable in interface org.objectweb.howl.log.
LogRecordType
recorded by Logger to mark first block following a restart of the Logger.
S
setAutoMark(boolean)
- Method in class org.objectweb.howl.log.
Logger
Sets the LogFile marking mode.
setBufferClassName(String)
- Method in class org.objectweb.howl.log.
Configuration
setBufferSize(int)
- Method in class org.objectweb.howl.log.
Configuration
setChecksumEnabled(boolean)
- Method in class org.objectweb.howl.log.
Configuration
setFilterCtrlRecords(boolean)
- Method in class org.objectweb.howl.log.
LogRecord
Set the filterCtrlRecords member
setFlushPartialBuffers(boolean)
- Method in class org.objectweb.howl.log.
Configuration
setFlushSleepTime(int)
- Method in class org.objectweb.howl.log.
Configuration
setLogEventListener(LogEventListener)
- Method in class org.objectweb.howl.log.
Logger
Registers a LogEventListener for log event notifications.
setLogEventListener(LogEventListener)
- Method in class org.objectweb.howl.log.xa.
XALogger
Saves a reference to callers LogEventListener.
setLogFileDir(String)
- Method in class org.objectweb.howl.log.
Configuration
setLogFileExt(String)
- Method in class org.objectweb.howl.log.
Configuration
setLogFileMode(String)
- Method in class org.objectweb.howl.log.
Configuration
setLogFileName(String)
- Method in class org.objectweb.howl.log.
Configuration
setMaxBlocksPerFile(int)
- Method in class org.objectweb.howl.log.
Configuration
setMaxBuffers(int)
- Method in class org.objectweb.howl.log.
Configuration
setMaxLogFiles(int)
- Method in class org.objectweb.howl.log.
Configuration
setMinBuffers(int)
- Method in class org.objectweb.howl.log.
Configuration
setThreadsWaitingForceThreshold(int)
- Method in class org.objectweb.howl.log.
Configuration
store(OutputStream)
- Method in class org.objectweb.howl.log.
Configuration
Stores configuration properties to OutputStream.
T
tod
- Variable in class org.objectweb.howl.log.
LogRecord
currentTimeMillis the log buffer containing this record was initialized.
TRACE
- Static variable in interface org.objectweb.howl.log.
LogEventListener
used to trace method entry/exit and other low level events.
type
- Variable in class org.objectweb.howl.log.
LogRecord
type of data record.
U
USER
- Static variable in interface org.objectweb.howl.log.
LogRecordType
Log records generated by user.
V
Version
- Class in
org.objectweb.howl.log
Version()
- Constructor for class org.objectweb.howl.log.
Version
W
WARN
- Static variable in interface org.objectweb.howl.log.
LogEventListener
used to log warnings.
X
XACOMMIT
- Static variable in interface org.objectweb.howl.log.
LogRecordType
recorded by XALogger to mark records generated by XALogger#putCommit()
XACOMMITMOVED
- Static variable in interface org.objectweb.howl.log.
LogRecordType
recorded by XALogger *after* a XACOMMIT record is moved to allow replay to remove the original XACOMMIT record from the activeTx table.
XACommittingTx
- Class in
org.objectweb.howl.log.xa
XA Transaction Managers write log records using the XALogger subclass of the basic HOWL Logger.
XADONE
- Static variable in interface org.objectweb.howl.log.
LogRecordType
recorded by XALogger to mark records generated by XALogger#putDone()
XALogger
- Class in
org.objectweb.howl.log.xa
A specialized subclass of
Logger
intended to provide functionality required by any XA Transaction Manager.
XALogger()
- Constructor for class org.objectweb.howl.log.xa.
XALogger
Construct a Logger using default Configuration object.
XALogger(Configuration)
- Constructor for class org.objectweb.howl.log.xa.
XALogger
Construct a Logger using a Configuration supplied by the caller.
XALogRecord
- Class in
org.objectweb.howl.log.xa
Extends
LogRecord
with members that are specific to XALogger.
XALogRecord(int)
- Constructor for class org.objectweb.howl.log.xa.
XALogRecord
constructs an instance of XALogRecord with a byte[] of
size
data.
A
C
D
E
F
G
I
K
L
M
O
P
R
S
T
U
V
W
X
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2010 HOWL Development Team. All Rights Reserved.