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

CLOSE - Static variable in interface org.objectweb.howl.log.LogRecordType
recorded by Logger to signal a clean close on the log.
CTRL - Static variable in interface org.objectweb.howl.log.LogRecordType
Log records generated by Logger.
Configuration - class org.objectweb.howl.log.Configuration.
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 org.objectweb.howl.log.ConfigurationMBean.
 
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() - Method in class org.objectweb.howl.log.xa.XALogger
 

D

DEBUG - Static variable in interface org.objectweb.howl.log.LogEventListener
used to log low level events.
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[].

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.
FILE_HEADER - Static variable in interface org.objectweb.howl.log.LogRecordType
Header records generated at start of every log file.
fields - Variable in class org.objectweb.howl.log.LogRecord
array of individual record fields as passed to Logger.put(byte[][])

G

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.
get(LogRecord, long) - Method in class org.objectweb.howl.log.Logger
Read a specific record from the log.
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.
getAverageBuffersPerForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getAverageForceTime() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getAverageThreadsWaitingForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getAverageTimeBetweenForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getAverageWaitForWriteLockTime() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
 
getAverageWriteTime() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
 
getBufferClassName() - Method in class org.objectweb.howl.log.Configuration
 
getBufferClassName() - Method in interface org.objectweb.howl.log.ConfigurationMBean
 
getBufferPoolCurrentSize() - Method in interface org.objectweb.howl.log.LogBufferManager.BufferPoolStatsMBean
 
getBufferPoolGrowCount() - Method in interface org.objectweb.howl.log.LogBufferManager.BufferPoolStatsMBean
 
getBufferPoolInitialSize() - Method in interface org.objectweb.howl.log.LogBufferManager.BufferPoolStatsMBean
 
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
 
getForceCount() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
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
 
getMaxBuffersForced() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getMaxLogFiles() - Method in class org.objectweb.howl.log.Configuration
 
getMaxLogFiles() - Method in interface org.objectweb.howl.log.ConfigurationMBean
 
getMaxThreadsWaitingForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getMaxTimeBetweenForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getMaximumWriteTime() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
 
getMinBuffers() - Method in class org.objectweb.howl.log.Configuration
 
getMinBuffers() - Method in interface org.objectweb.howl.log.ConfigurationMBean
 
getMinBuffersForced() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
getMinTimeBetweenForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
 
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
 
getWaitForBuffer() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
 
getWriteCount() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
 

I

INFO - Static variable in interface org.objectweb.howl.log.LogEventListener
used to log information messages such as file open/close.
InitLog - class org.objectweb.howl.log.util.InitLog.
 
InitLog() - Constructor for class org.objectweb.howl.log.util.InitLog
 
InvalidFileSetException - exception org.objectweb.howl.log.InvalidFileSetException.
Exception thrown when LogFileManager.open() detects an invalid file set.
InvalidFileSetException() - Constructor for class org.objectweb.howl.log.InvalidFileSetException
 
InvalidFileSetException(String) - Constructor for class org.objectweb.howl.log.InvalidFileSetException
 
InvalidFileSetException(Throwable) - Constructor for class org.objectweb.howl.log.InvalidFileSetException
 
InvalidFileSetException(String, Throwable) - Constructor for class org.objectweb.howl.log.InvalidFileSetException
 
InvalidLogBufferException - exception org.objectweb.howl.log.InvalidLogBufferException.
Exception thrown when Logger detects a journal block with invalid content.
InvalidLogBufferException() - Constructor for class org.objectweb.howl.log.InvalidLogBufferException
 
InvalidLogBufferException(String) - Constructor for class org.objectweb.howl.log.InvalidLogBufferException
 
InvalidLogBufferException(Throwable) - Constructor for class org.objectweb.howl.log.InvalidLogBufferException
 
InvalidLogBufferException(String, Throwable) - Constructor for class org.objectweb.howl.log.InvalidLogBufferException
 
InvalidLogHeaderException - exception org.objectweb.howl.log.InvalidLogHeaderException.
Exception thrown when XAJournalReader detects a journal block with an invalid header.
InvalidLogHeaderException() - Constructor for class org.objectweb.howl.log.InvalidLogHeaderException
 
InvalidLogHeaderException(String) - Constructor for class org.objectweb.howl.log.InvalidLogHeaderException
 
InvalidLogHeaderException(Throwable) - Constructor for class org.objectweb.howl.log.InvalidLogHeaderException
 
InvalidLogHeaderException(String, Throwable) - Constructor for class org.objectweb.howl.log.InvalidLogHeaderException
 
InvalidLogKeyException - exception org.objectweb.howl.log.InvalidLogKeyException.
Exception thrown when XAJournalReader detects a journal block with an invalid header.
InvalidLogKeyException() - Constructor for class org.objectweb.howl.log.InvalidLogKeyException
 
InvalidLogKeyException(String) - Constructor for class org.objectweb.howl.log.InvalidLogKeyException
 
InvalidLogKeyException(Throwable) - Constructor for class org.objectweb.howl.log.InvalidLogKeyException
 
InvalidLogKeyException(String, Throwable) - Constructor for class org.objectweb.howl.log.InvalidLogKeyException
 
isCTRL() - Method in class org.objectweb.howl.log.LogRecord
Return true if the current record is a control record.
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
 
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

LogBufferManager.BufferPoolStatsMBean - interface org.objectweb.howl.log.LogBufferManager.BufferPoolStatsMBean.
 
LogBufferManager.ForceStatsMBean - interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean.
 
LogBufferManager.WriteStatsMBean - interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean.
 
LogClosedException - exception org.objectweb.howl.log.LogClosedException.
Checked exception thrown when put is called after the log has been closed.
LogClosedException() - Constructor for class org.objectweb.howl.log.LogClosedException
Constructs an instance of this class.
LogClosedException(String) - Constructor for class org.objectweb.howl.log.LogClosedException
 
LogClosedException(Throwable) - Constructor for class org.objectweb.howl.log.LogClosedException
 
LogClosedException(String, Throwable) - Constructor for class org.objectweb.howl.log.LogClosedException
 
LogConfigurationException - exception org.objectweb.howl.log.LogConfigurationException.
 
LogConfigurationException() - Constructor for class org.objectweb.howl.log.LogConfigurationException
 
LogConfigurationException(String) - Constructor for class org.objectweb.howl.log.LogConfigurationException
 
LogConfigurationException(Throwable) - Constructor for class org.objectweb.howl.log.LogConfigurationException
 
LogConfigurationException(String, Throwable) - Constructor for class org.objectweb.howl.log.LogConfigurationException
 
LogEventListener - interface org.objectweb.howl.log.LogEventListener.
This interface is implemented by users of the Logger.
LogException - exception org.objectweb.howl.log.LogException.
Base exception class for HOWL exceptions.
LogException() - Constructor for class org.objectweb.howl.log.LogException
 
LogException(String) - Constructor for class org.objectweb.howl.log.LogException
 
LogException(Throwable) - Constructor for class org.objectweb.howl.log.LogException
 
LogException(String, Throwable) - Constructor for class org.objectweb.howl.log.LogException
 
LogFileOverflowException - exception org.objectweb.howl.log.LogFileOverflowException.
Checked exception thrown when the Logger attempts to switch to an alternate log file that contains the active mark.
LogFileOverflowException() - Constructor for class org.objectweb.howl.log.LogFileOverflowException
Constructs an instance of this class.
LogFileOverflowException(long, long, File) - Constructor for class org.objectweb.howl.log.LogFileOverflowException
Construct an exception with message describing the problem
LogRecord - class org.objectweb.howl.log.LogRecord.
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 org.objectweb.howl.log.LogRecordSizeException.
Checked exception thrown when the byte[] passed to put is larger than the configured buffer size.
LogRecordSizeException() - Constructor for class org.objectweb.howl.log.LogRecordSizeException
Constructs an instance of this class.
LogRecordSizeException(int) - Constructor for class org.objectweb.howl.log.LogRecordSizeException
Constructs an instance of this class with specified description.
LogRecordType - interface org.objectweb.howl.log.LogRecordType.
Define record types used by Logger implementations.
Logger - class org.objectweb.howl.log.Logger.
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.
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.
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.

M

MARKKEY - Static variable in interface org.objectweb.howl.log.LogRecordType
Log records containing mark data.
main(String[]) - Static method in class org.objectweb.howl.log.Version
 
main(String[]) - Static method in class org.objectweb.howl.log.util.InitLog
 
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 .

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

RESTART - Static variable in interface org.objectweb.howl.log.LogRecordType
recorded by Logger to mark first block following a restart of the Logger.
ReplayListener - interface org.objectweb.howl.log.ReplayListener.
Objects that wish to read a log must implement the ReplayListener interface.
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.

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

TRACE - Static variable in interface org.objectweb.howl.log.LogEventListener
used to trace method entry/exit and other low level events.
tod - Variable in class org.objectweb.howl.log.LogRecord
currentTimeMillis the log buffer containing this record was initialized.
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 org.objectweb.howl.log.Version.
 
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 org.objectweb.howl.log.xa.XACommittingTx.
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()
XALogRecord - class org.objectweb.howl.log.xa.XALogRecord.
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.
XALogger - class org.objectweb.howl.log.xa.XALogger.
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.

A C D E F G I K L M O P R S T U V W X

Copyright © 2003-2007 HOWL Development Team. All Rights Reserved.