Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- activeMark - Variable in class org.objectweb.howl.log.LogFileHeader
- activeMark - Variable in class org.objectweb.howl.log.LogFileManager
-
The log key for the oldest active entry in the log.
- activeTx - Variable in class org.objectweb.howl.log.xa.XALogger
-
array of transactions in COMMIT phase and waiting for DONE.
- activeTxAdd(long, byte[][]) - Method in class org.objectweb.howl.log.xa.XALogger
-
Used by putCommit() and by OpenReplayListener#onRecord() to add entries to the activeTx table.
- activeTxDisplay() - Method in class org.objectweb.howl.log.xa.XALogger
-
displays entries in the activeTx table.
- activeTxHashMap - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
-
Used to keep track of XACOMMIT records encountered during replay.
- activeTxLock - Variable in class org.objectweb.howl.log.xa.XALogger
-
lock used to synchronize access to the availableTx array, atxGet and atxPut members.
- adler32Checksum - Variable in class org.objectweb.howl.log.Configuration
-
When set to true and checksumEnabled is also true checksums are computed using java.util.zip.Adler32.
- atxGet - Variable in class org.objectweb.howl.log.xa.XALogger
-
workerID into availableTx[] used to remove an entry.
- atxPut - Variable in class org.objectweb.howl.log.xa.XALogger
-
workerID into availableTx[] used to return (add) an entry.
- atxUsed - Variable in class org.objectweb.howl.log.xa.XALogger
-
number of used entries in activeTx table.
- automark - Variable in class org.objectweb.howl.log.LogFileHeader
- automark - Variable in class org.objectweb.howl.log.LogFileManager
-
indicates whether log files will be marked automatically.
- autoMarkOff - Variable in class org.objectweb.howl.log.LogFileHeader
-
data written to log when autoMark is turned off
- autoMarkOff - Variable in class org.objectweb.howl.log.LogFileManager
-
data written to log when autoMark is turned off
- autoMarkOn - Variable in class org.objectweb.howl.log.LogFileHeader
-
data written to log when autoMark is turned on
- autoMarkOn - Variable in class org.objectweb.howl.log.LogFileManager
-
data written to log when autoMark is turned on
- availableTx - Variable in class org.objectweb.howl.log.xa.XALogger
-
array of available XACommittingTx objects.
B
- BlockLogBuffer - Class in org.objectweb.howl.log
-
An implementation of LogBuffer that provides features necessary for a reliable Transaction Monitor journal.
- BlockLogBuffer(Configuration) - Constructor for class org.objectweb.howl.log.BlockLogBuffer
-
default constructor calls super class constructor.
- BlockLogBuffer(Configuration, boolean) - Constructor for class org.objectweb.howl.log.BlockLogBuffer
-
constructs instance of BlockLogBuffer with file IO disabled.
- BlockLogBufferSink - Class in org.objectweb.howl.log
-
An implementation of BlockLogBuffer that does *not* perform IO.
- BlockLogBufferSink(Configuration) - Constructor for class org.objectweb.howl.log.BlockLogBufferSink
- bmgr - Variable in class org.objectweb.howl.log.LogFileManager
-
LogBufferManager used by methods that put() records to the log.
- bmgr - Variable in class org.objectweb.howl.log.Logger
-
Manages a pool of buffers used for log file IO.
- bsn - Variable in class org.objectweb.howl.log.LogBuffer
-
buffer sequence number.
- bsnFromMark(long) - Method in class org.objectweb.howl.log.LogBufferManager
-
returns the BSN value portion of a log key mark .
- buffer - Variable in class org.objectweb.howl.log.LogBuffer
- buffer - Variable in class org.objectweb.howl.log.LogRecord
-
used by Logger.get() and Logger.getNext() to retrieve records from the journal.
- bufferClassName - Variable in class org.objectweb.howl.log.Configuration
-
Name of class that implements LogBuffer used by LogBufferManager.
- bufferFooterSize - Static variable in class org.objectweb.howl.log.BlockLogBuffer
-
The number of bytes to reserve for block footer information.
- bufferInfo() - Method in class org.objectweb.howl.log.BlockLogBuffer
-
generate a String that represents the state of this LogBuffer object
- bufferList - Variable in class org.objectweb.howl.log.LogBufferManager
-
array of all LogBuffer objects allocated.
- bufferManagerLock - Variable in class org.objectweb.howl.log.LogBufferManager
-
mutex for synchronizing access to buffers list.
- BufferPoolStats() - Constructor for class org.objectweb.howl.log.LogBufferManager.BufferPoolStats
- bufferSize - Variable in class org.objectweb.howl.log.Configuration
-
Size (in K bytes) of buffers used to write log blocks.
- buffersWaitingForce - Variable in class org.objectweb.howl.log.LogBufferManager
-
number of buffers waiting to be forced.
- bytesUsed - Variable in class org.objectweb.howl.log.LogBuffer
-
Number of used data bytes in the buffer.
- bytesUsedOffset - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
Offset within the block header of the bytes_used field.
- bytesWritten - Variable in class org.objectweb.howl.log.LogFile
-
total number of data written.
C
- capacity() - Method in class org.objectweb.howl.log.LogRecord
- cfHighMark - Variable in class org.objectweb.howl.log.LogFileHeader
- cfTOD - Variable in class org.objectweb.howl.log.LogFileHeader
- channel - Variable in class org.objectweb.howl.log.LogFile
-
FileChannel associated with this LogFile.
- checkPutEnabled() - Method in class org.objectweb.howl.log.xa.XALogger
- checksum - Variable in class org.objectweb.howl.log.LogBuffer
- checksum() - Method in class org.objectweb.howl.log.LogBuffer
-
Computes a checksum over the the entire byte buffer backing this LogBuffer object.
- checksumBuffer - Variable in class org.objectweb.howl.log.LogBuffer
-
Local buffer used to compute checksums.
- checksumEnabled - Variable in class org.objectweb.howl.log.Configuration
-
When set to true checksums are computed on the contents of each buffer prior to writing buffer contents to disk.
- close() - Method in class org.objectweb.howl.log.LogBufferManager
-
Shutdown any threads that are started by this LogBufferManager instance.
- close() - Method in class org.objectweb.howl.log.LogFile
-
Close the channel associated with this LogFile.
- close() - Method in class org.objectweb.howl.log.LogFileManager
-
Gracefully close the log files.
- 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
- CLOSE - Static variable in interface org.objectweb.howl.log.LogRecordType
-
recorded by Logger to signal a clean close on the log.
- closeBufferManager() - Method in class org.objectweb.howl.log.LogFileManager
-
Write a CLOSE record and shut down the buffer manager if we have one.
- commitCount - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- compareBytes(byte[], byte[]) - Method in class org.objectweb.howl.log.BlockLogBuffer
-
internal routine used to compare two byte[] objects.
- COMPLETE - Static variable in interface org.objectweb.howl.log.LogBufferStatus
-
IO Status of LogBuffer when force is complete (2).
- config - Variable in class org.objectweb.howl.log.LogObject
-
Configuration object from Logger that owns this LogBufferManager.
- 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(File) - Constructor for class org.objectweb.howl.log.Configuration
-
Construct a Configuration object using a Properties file specified by the caller.
- Configuration(Properties) - Constructor for class org.objectweb.howl.log.Configuration
-
Construct a Configuration object using a Properties object supplied by the caller.
- ConfigurationMBean - Interface in org.objectweb.howl.log
- crlf - Variable in class org.objectweb.howl.log.BlockLogBuffer
- crlf - Variable in class org.objectweb.howl.log.LogFileHeader
- crlf - Variable in class org.objectweb.howl.log.LogFileManager
-
end of line for log records to make logs readable in text editors.
- CRLF - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
Carriage Return Line Feed sequence used for debugging purposes.
- CTRL - Static variable in interface org.objectweb.howl.log.LogRecordType
-
Log records generated by Logger.
- currentKey - Variable in class org.objectweb.howl.log.LogFileManager
-
last key returned by put().
- currentLogFile - Variable in class org.objectweb.howl.log.LogFileManager
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.
- detectLogOverflow(int) - Method in class org.objectweb.howl.log.LogFileManager
-
Detect pending Log Overflow and notify event listener.
- doChecksum - Variable in class org.objectweb.howl.log.LogBuffer
-
switch to enable computation of checksum.
- done - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
Flag indicating that the TM has called XALogger.putDone().
- doneCount - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- doubleToString(double, int) - Method in class org.objectweb.howl.log.LogBufferManager
-
convert a double to String with fixed number of decimal places
- doWrite - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
switch to disable writes.
E
- elapsedTime(long) - Method in class org.objectweb.howl.log.LogBufferManager
-
compute elapsed time for an event
- 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 class org.objectweb.howl.log.BlockLogBuffer
-
end-of-block string stuffed into buffers to help identify end of used portion of buffer in a hex dump.
- 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.LogBufferStatus
-
IO Status of LogBuffer if an IOException occurs during the force (3).
- ERROR - Static variable in interface org.objectweb.howl.log.LogEventListener
-
used to log non-fatal error messages.
- event - Variable in class org.objectweb.howl.log.LogFileManager
-
event to be processed by the eventManagerThread.
- eventListener - Variable in class org.objectweb.howl.log.LogFileManager
-
The LogEventListener registered by the application that owns the logger.
- eventListener - Variable in class org.objectweb.howl.log.xa.XALogger
-
LogEventListener registered by TM that instantiated this XALogger.
- EventManager(String) - Constructor for class org.objectweb.howl.log.LogFileManager.EventManager
- eventManagerLock - Variable in class org.objectweb.howl.log.LogFileManager
-
Monitor used by EventManager thread to wait for events that need to be notified.
- eventManagerThread - Variable in class org.objectweb.howl.log.LogFileManager
-
Thread used by LogFileManager to send events to the registered LogEventListener.
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 - Variable in class org.objectweb.howl.log.LogFile
- FILE_HEADER - Static variable in interface org.objectweb.howl.log.LogRecordType
-
Header records generated at start of every log file.
- fileHeader - Variable in class org.objectweb.howl.log.LogFileManager
-
LogFile header record.
- fileHeaderBB - Variable in class org.objectweb.howl.log.LogFileManager
-
ByteBuffer wrapper for fileHeader to facilitate conversion of numeric information to byte[] format.
- fileManagerLock - Variable in class org.objectweb.howl.log.LogFileManager
-
lock controlling access to LogFile.
- fileMode - Variable in class org.objectweb.howl.log.LogFile
- fileSet - Variable in class org.objectweb.howl.log.LogFileManager
-
set of LogFile objects associated with the physical log files.
- fillBuffer - Variable in class org.objectweb.howl.log.LogBufferManager
-
The LogBuffer that is currently being filled.
- FILLING - Static variable in interface org.objectweb.howl.log.LogBufferStatus
-
IO Status of LogBuffer while it is being filled with new records (0).
- filterCtrlRecords - Variable in class org.objectweb.howl.log.LogRecord
-
Set to
true to prevent get() from returning control records.
- firstBSN - Variable in class org.objectweb.howl.log.LogFile
-
BSN of first block in the file.
- flushAll() - Method in class org.objectweb.howl.log.LogBufferManager
-
flush active buffers to disk and wait for all LogBuffers to be returned to the freeBuffer pool.
- flushManager - Variable in class org.objectweb.howl.log.LogBufferManager
-
thread used to flush long waiting buffers
- FlushManager(String) - Constructor for class org.objectweb.howl.log.LogBufferManager.FlushManager
- flushManagerName - Static variable in class org.objectweb.howl.log.LogBufferManager
-
name of flush manager thread
- flushPartialBuffers - Variable in class org.objectweb.howl.log.Configuration
-
Indicates whether LogBufferManager should flush buffers before they are full.
- flushPartialBuffers - Variable in class org.objectweb.howl.log.LogBufferManager
- flushSleepTime - Variable in class org.objectweb.howl.log.Configuration
-
The amount of time (specified in number of milli-seconds) the ForceManager sleeps between log forces.
- FOOTER_ID - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
Signature for each logical block footer.
- footerId - Variable in class org.objectweb.howl.log.BlockLogBuffer
- force(boolean) - Method in class org.objectweb.howl.log.LogBufferManager
-
forces buffer to disk.
- force(boolean) - Method in class org.objectweb.howl.log.LogFile
-
Helper provides access to the FileChannel.force() method for the FileChannel associated with this LogFile.
- forceCount - Variable in class org.objectweb.howl.log.LogBufferManager
-
number of times channel.force() called.
- forceCurrentBuffer() - Method in class org.objectweb.howl.log.LogBufferManager
-
Force the current buffer to disk before starting a replay().
- forceHalfOfBuffers - Variable in class org.objectweb.howl.log.LogBufferManager
- forceManagerLock - Variable in class org.objectweb.howl.log.LogBufferManager
-
mutex for synchronizing threads through the portion of force() that forces the channel.
- forceMaxWaitingThreads - Variable in class org.objectweb.howl.log.LogBufferManager
- forceNow - Variable in class org.objectweb.howl.log.LogBuffer
-
set true by LogFileManager if the buffer must be forced due to file switch.
- forceNoWaitingThreads - Variable in class org.objectweb.howl.log.LogBufferManager
- forceOnFileSwitch - Variable in class org.objectweb.howl.log.LogBufferManager
- forceOnTimeout - Variable in class org.objectweb.howl.log.LogBufferManager
- forceQueue - Variable in class org.objectweb.howl.log.LogBufferManager
-
queue of buffers waiting to be written.
- forceRequired - Variable in class org.objectweb.howl.log.LogBufferManager
-
indicates if a force() must be called in the flush() method.
- ForceStats() - Constructor for class org.objectweb.howl.log.LogBufferManager.ForceStats
- format(long, long, File) - Static method in exception class org.objectweb.howl.log.LogFileOverflowException
- fqAdd(LogBuffer) - Method in class org.objectweb.howl.log.LogBufferManager
-
Add a buffer to the forceQueue.
- fqGet - Variable in class org.objectweb.howl.log.LogBufferManager
-
next get workerID from forceQueue .
- fqPut - Variable in class org.objectweb.howl.log.LogBufferManager
-
next put workerID into forceQueue .
- freeBuffer - Variable in class org.objectweb.howl.log.LogBufferManager
-
array of LogBuffer objects available for filling
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 class org.objectweb.howl.log.LogBufferManager.ForceStats
- getAverageBuffersPerForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getAverageForceTime() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getAverageForceTime() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getAverageThreadsWaitingForce() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getAverageThreadsWaitingForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getAverageTimeBetweenForce() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getAverageTimeBetweenForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getAverageWaitForWriteLockTime() - Method in class org.objectweb.howl.log.LogBufferManager.WriteStats
- getAverageWaitForWriteLockTime() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
- getAverageWriteTime() - Method in class org.objectweb.howl.log.LogBufferManager.WriteStats
- getAverageWriteTime() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
- getBoolean(String, boolean) - Method in class org.objectweb.howl.log.Configuration
-
called by parseProperties to obtain a boolean configuration property and optionally display the configured value.
- getBufferClassName() - Method in class org.objectweb.howl.log.Configuration
- getBufferClassName() - Method in interface org.objectweb.howl.log.ConfigurationMBean
- getBufferPoolCurrentSize() - Method in class org.objectweb.howl.log.LogBufferManager.BufferPoolStats
- getBufferPoolCurrentSize() - Method in interface org.objectweb.howl.log.LogBufferManager.BufferPoolStatsMBean
- getBufferPoolGrowCount() - Method in class org.objectweb.howl.log.LogBufferManager.BufferPoolStats
- getBufferPoolGrowCount() - Method in interface org.objectweb.howl.log.LogBufferManager.BufferPoolStatsMBean
- getBufferPoolInitialSize() - Method in class org.objectweb.howl.log.LogBufferManager.BufferPoolStats
- 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[][]).
- getFillBuffer() - Method in class org.objectweb.howl.log.LogBufferManager
-
returns a LogBuffer to be filled.
- getFlushSleepTime() - Method in class org.objectweb.howl.log.Configuration
- getFlushSleepTime() - Method in interface org.objectweb.howl.log.ConfigurationMBean
- getForceCount() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getForceCount() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getHighMark() - Method in class org.objectweb.howl.log.LogFileManager
-
Returns the highMark from the LogFile that is currently being written.
- getIndex() - Method in class org.objectweb.howl.log.xa.XACommittingTx
-
returns an workerID into an array of XACommittingTx objects that holds a reference to this XACommittingTx.
- getInteger(String, int) - Method in class org.objectweb.howl.log.Configuration
-
called by parseProperties to obtain an int configuration property and optionally display the configured value.
- getInteger(String, int, String) - Method in class org.objectweb.howl.log.Configuration
-
called by parseProperties to obtain an int configuration property and optionally display the configured value.
- getLogBuffer(int) - Method in class org.objectweb.howl.log.LogBufferManager
-
return a new instance of LogBuffer.
- 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
- getLogFileForMark(long) - Method in class org.objectweb.howl.log.LogFileManager
-
Returns the LogFile that contains the requested mark .
- getLogFileForWrite(LogBuffer) - Method in class org.objectweb.howl.log.LogFileManager
-
Called by LogBuffer.init() to obtain the LogFile that will be used to write a specific log block.
- 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.
- getLogRecord() - Method in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- getLogRecord() - Method in class org.objectweb.howl.log.xa.XALogger.XAReplayListener
- 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 class org.objectweb.howl.log.LogBufferManager.ForceStats
- getMaxBuffersForced() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getMaximumWriteTime() - Method in class org.objectweb.howl.log.LogBufferManager.WriteStats
- getMaximumWriteTime() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
- getMaxLogFiles() - Method in class org.objectweb.howl.log.Configuration
- getMaxLogFiles() - Method in interface org.objectweb.howl.log.ConfigurationMBean
- getMaxThreadsWaitingForce() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getMaxThreadsWaitingForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getMaxTimeBetweenForce() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getMaxTimeBetweenForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getMinBuffers() - Method in class org.objectweb.howl.log.Configuration
- getMinBuffers() - Method in interface org.objectweb.howl.log.ConfigurationMBean
- getMinBuffersForced() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getMinBuffersForced() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getMinTimeBetweenForce() - Method in class org.objectweb.howl.log.LogBufferManager.ForceStats
- getMinTimeBetweenForce() - Method in interface org.objectweb.howl.log.LogBufferManager.ForceStatsMBean
- getName() - Method in class org.objectweb.howl.log.LogBuffer
-
May be used in traces or other purposes for debugging.
- getNext(LogBuffer) - Method in class org.objectweb.howl.log.LogRecord
-
helper for get().
- 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.BlockLogBuffer
-
return statistics for this buffer.
- getStats() - Method in class org.objectweb.howl.log.LogBuffer
-
returns statistics for this LogBuffer object.
- getStats() - Method in class org.objectweb.howl.log.LogBufferManager
-
Returns an XML node containing statistics for the LogBufferManager.
- getStats() - Method in class org.objectweb.howl.log.LogFile
-
return statistics for this LogFile as an XML string.
- getStats() - Method in class org.objectweb.howl.log.LogFileManager
-
Returns an XML node containing statistics for the LogFileManager.
- 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.
- getString(String, String) - Method in class org.objectweb.howl.log.Configuration
-
called by parseProperties to obtain a String configuration property and optionally display the configured value.
- getThreadsWaitingForceThreshold() - Method in class org.objectweb.howl.log.Configuration
- getThreadsWaitingForceThreshold() - Method in interface org.objectweb.howl.log.ConfigurationMBean
- getTotalWaitForThis() - Method in class org.objectweb.howl.log.xa.XALogger
-
Provide synchronized access to totalWaitForThis.
- getTx() - Method in class org.objectweb.howl.log.xa.XALogRecord
- getWaitForBuffer() - Method in class org.objectweb.howl.log.LogBufferManager
-
provides synchronized access to waitForBuffer
- getWaitForBuffer() - Method in class org.objectweb.howl.log.LogBufferManager.WriteStats
- getWaitForBuffer() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
- getWaitForThisCount() - Method in class org.objectweb.howl.log.xa.XALogger
-
Provide synchronized access to waitForThisCount.
- getWaitingThreads() - Method in class org.objectweb.howl.log.LogBuffer
-
returns the number of threads currently waiting for the buffer to be forced to disk.
- getWriteCount() - Method in class org.objectweb.howl.log.LogBufferManager.WriteStats
- getWriteCount() - Method in interface org.objectweb.howl.log.LogBufferManager.WriteStatsMBean
- growActiveTxArray() - Method in class org.objectweb.howl.log.xa.XALogger
-
Resize the activeTx and availableTx tables to accomodate larger number of transactions in the COMMITTING state.
- growActiveTxArrayCount - Variable in class org.objectweb.howl.log.xa.XALogger
-
number of times the activeTx table was resized to accomodate a larger number of transactions in the COMMITTING state.
- growPoolCounter - Variable in class org.objectweb.howl.log.LogBufferManager
-
number of times buffer size was increased because of threads waiting for buffers.
H
- haveIOException - Variable in class org.objectweb.howl.log.LogBufferManager
-
boolean is set true when an IOException is returned by a write or force to a log file.
- HEADER_ID - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
Signature for each logical block header.
- headerId - Variable in class org.objectweb.howl.log.BlockLogBuffer
- highMark - Variable in class org.objectweb.howl.log.LogFile
-
log key for the first record in the next file.
I
- index - Variable in class org.objectweb.howl.log.LogBuffer
-
buffer number used by owner (LogBufferManager) to workerID into an array of buffers.
- index - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
workerID into the activeTx[] that this entry will be stored.
- indexBytes - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
byte[] representation of this.index.
- INFO - Static variable in interface org.objectweb.howl.log.LogEventListener
-
used to log information messages such as file open/close.
- init() - Method in class org.objectweb.howl.log.xa.XALogger
-
Common initialization for all constructors.
- init(int, LogFileManager) - Method in class org.objectweb.howl.log.BlockLogBuffer
-
initialize members for buffer reuse.
- init(int, LogFileManager) - Method in class org.objectweb.howl.log.LogBuffer
-
initialize members for LogBuffer implementation class for reuse.
- init(LogBufferManager) - Method in class org.objectweb.howl.log.LogFileManager
-
validate LogFiles and set member variables.
- init(LogFileManager, int) - Method in class org.objectweb.howl.log.LogBufferManager
-
perform initialization following reposition of LogFileManager.
- initComplete - Variable in class org.objectweb.howl.log.LogFileManager
-
Indicates that LogFileManager initialization is complete.
- initCounter - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
number of times this buffer was used.
- initialKey - Variable in class org.objectweb.howl.log.LogFileManager
-
the first log key generated by this instance of the Logger.
- InitLog - Class in org.objectweb.howl.log.util
- InitLog() - Constructor for class org.objectweb.howl.log.util.InitLog
- InvalidFileSetException - Exception Class in org.objectweb.howl.log
-
Exception thrown when LogFileManager.open() detects an invalid file set.
- InvalidFileSetException() - Constructor for exception class org.objectweb.howl.log.InvalidFileSetException
- InvalidFileSetException(String) - Constructor for exception class org.objectweb.howl.log.InvalidFileSetException
- InvalidFileSetException(String, Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidFileSetException
- InvalidFileSetException(Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidFileSetException
- InvalidLogBufferException - Exception Class in org.objectweb.howl.log
-
Exception thrown when Logger detects a journal block with invalid content.
- InvalidLogBufferException() - Constructor for exception class org.objectweb.howl.log.InvalidLogBufferException
- InvalidLogBufferException(String) - Constructor for exception class org.objectweb.howl.log.InvalidLogBufferException
- InvalidLogBufferException(String, Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidLogBufferException
- InvalidLogBufferException(Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidLogBufferException
- InvalidLogHeaderException - Exception Class in org.objectweb.howl.log
-
Exception thrown when XAJournalReader detects a journal block with an invalid header.
- InvalidLogHeaderException() - Constructor for exception class org.objectweb.howl.log.InvalidLogHeaderException
- InvalidLogHeaderException(String) - Constructor for exception class org.objectweb.howl.log.InvalidLogHeaderException
- InvalidLogHeaderException(String, Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidLogHeaderException
- InvalidLogHeaderException(Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidLogHeaderException
- InvalidLogKeyException - Exception Class in org.objectweb.howl.log
-
Exception thrown when XAJournalReader detects a journal block with an invalid header.
- InvalidLogKeyException() - Constructor for exception class org.objectweb.howl.log.InvalidLogKeyException
- InvalidLogKeyException(String) - Constructor for exception class org.objectweb.howl.log.InvalidLogKeyException
- InvalidLogKeyException(String, Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidLogKeyException
- InvalidLogKeyException(Throwable) - Constructor for exception class org.objectweb.howl.log.InvalidLogKeyException
- ioexception - Variable in class org.objectweb.howl.log.LogBuffer
-
IOException from last write
- ioexception - Variable in class org.objectweb.howl.log.LogBufferManager
-
The last IOException returned to the logger
- iostatus - Variable in class org.objectweb.howl.log.LogBuffer
-
results of last write.
- isAdler32ChecksumEnabled() - Method in class org.objectweb.howl.log.Configuration
- isAdler32ChecksumEnabled() - Method in interface org.objectweb.howl.log.ConfigurationMBean
- 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.LogBufferManager.FlushManager
-
prevents FlushManager from flushing buffers when true.
- 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
L
- lastForceBSN - Variable in class org.objectweb.howl.log.LogBufferManager
-
last BSN forced to log.
- lastForceTOD - Variable in class org.objectweb.howl.log.LogBufferManager
-
time of last force used to compute totalTimeBetweenForce
- length - Variable in class org.objectweb.howl.log.LogRecord
-
length of the data record.
- lf - Variable in class org.objectweb.howl.log.LogBuffer
-
LogFile associated with the current LogBuffer.
- lfIndex - Variable in class org.objectweb.howl.log.LogFileManager
-
workerID to current entry in fileSet[]
- lfm - Variable in class org.objectweb.howl.log.LogBufferManager
-
reference to LogFileManager that owns this Buffer Manager instance.
- lfmgr - Variable in class org.objectweb.howl.log.Logger
-
Manages a pool of files used for log file IO.
- listConfig - Variable in class org.objectweb.howl.log.Configuration
-
When set to true the configuration properties are displayed to System.out following construction of a Configuration object.
- load() - Method in class org.objectweb.howl.log.LogState
-
loads state variables from property file.
- lock - Variable in class org.objectweb.howl.log.LogFile
-
FileLock acquired when file is opened.
- lock() - Method in class org.objectweb.howl.log.LogState
-
make state unavailable whil log is open.
- lockFile - Variable in class org.objectweb.howl.log.LogState
- log(int, String) - Method in interface org.objectweb.howl.log.LogEventListener
-
write a log message to the event log.
- 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 interface org.objectweb.howl.log.LogEventListener
-
write a log message to the event log with exception information.
- log(int, String, Throwable) - Method in class org.objectweb.howl.log.xa.XALogger
-
delegates log request to the callers event listener.
- LOG_OVERFLOW_EVENT - Static variable in class org.objectweb.howl.log.LogFileManager
-
Event types for event manager thread.
- LogBuffer - Class in org.objectweb.howl.log
-
Classes used as buffers in LogBufferManager must implement this interface.
- LogBuffer(Configuration) - Constructor for class org.objectweb.howl.log.LogBuffer
-
default constructor.
- LogBufferManager - Class in org.objectweb.howl.log
-
Provides a generalized buffer manager for journals and loggers.
- LogBufferManager(Configuration) - Constructor for class org.objectweb.howl.log.LogBufferManager
- LogBufferManager.BufferPoolStats - Class in org.objectweb.howl.log
- LogBufferManager.BufferPoolStatsMBean - Interface in org.objectweb.howl.log
- LogBufferManager.FlushManager - Class in org.objectweb.howl.log
-
helper thread to flush buffers that have threads waiting longer than configured maximum.
- LogBufferManager.ForceStats - Class in org.objectweb.howl.log
- LogBufferManager.ForceStatsMBean - Interface in org.objectweb.howl.log
- LogBufferManager.WriteStats - Class in org.objectweb.howl.log
- LogBufferManager.WriteStatsMBean - Interface in org.objectweb.howl.log
- LogBufferStatus - Interface in org.objectweb.howl.log
-
Defines valid values for LogBuffer status.
- LogClosedException - Exception Class in org.objectweb.howl.log
-
Checked exception thrown when put is called after the log has been closed.
- LogClosedException() - Constructor for exception class org.objectweb.howl.log.LogClosedException
- LogClosedException(String) - Constructor for exception class org.objectweb.howl.log.LogClosedException
- LogClosedException(String, Throwable) - Constructor for exception class org.objectweb.howl.log.LogClosedException
- LogClosedException(Throwable) - Constructor for exception class org.objectweb.howl.log.LogClosedException
- LogConfigurationException - Exception Class in org.objectweb.howl.log
- LogConfigurationException() - Constructor for exception class org.objectweb.howl.log.LogConfigurationException
- LogConfigurationException(String) - Constructor for exception class org.objectweb.howl.log.LogConfigurationException
- LogConfigurationException(String, Throwable) - Constructor for exception class org.objectweb.howl.log.LogConfigurationException
- LogConfigurationException(Throwable) - Constructor for exception class org.objectweb.howl.log.LogConfigurationException
- LogEventListener - Interface in org.objectweb.howl.log
-
This interface is implemented by users of the Logger.
- LogException - Exception Class in org.objectweb.howl.log
-
Base exception class for HOWL exceptions.
- LogException() - Constructor for exception class org.objectweb.howl.log.LogException
- LogException(String) - Constructor for exception class org.objectweb.howl.log.LogException
- LogException(String, Throwable) - Constructor for exception class org.objectweb.howl.log.LogException
- LogException(Throwable) - Constructor for exception class org.objectweb.howl.log.LogException
- LogFile - Class in org.objectweb.howl.log
-
An individual file within a set of log files managed by a Logger.
- LogFile(File) - Constructor for class org.objectweb.howl.log.LogFile
-
construct an instance of LogFile for a given file name
- logFileDir - Variable in class org.objectweb.howl.log.Configuration
-
directory used to create log files.
- logFileExt - Variable in class org.objectweb.howl.log.Configuration
-
file name extension for log files.
- LogFileHeader - Class in org.objectweb.howl.log
-
Defines the header record for a LogFile.
- LogFileHeader() - Constructor for class org.objectweb.howl.log.LogFileHeader
- LogFileManager - Class in org.objectweb.howl.log
-
Manage a set of log files.
- LogFileManager(Configuration) - Constructor for class org.objectweb.howl.log.LogFileManager
-
construct LogFileManager with Configuration supplied by caller.
- LogFileManager.EventManager - Class in org.objectweb.howl.log
-
helper thread used invoke LogEventListener when log overflow (or other event) is about to occur.
- logFileMode - Variable in class org.objectweb.howl.log.Configuration
-
IO mode used to open the file.
- logFileName - Variable in class org.objectweb.howl.log.Configuration
-
filename used to create log files.
- LogFileOverflowException - Exception Class 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 class org.objectweb.howl.log.LogFileOverflowException
-
Constructs an instance of this class.
- LogFileOverflowException(long, long, File) - Constructor for exception class 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.
- LoggerFactory - Class in org.objectweb.howl.log
-
Not Implemented.
- LoggerFactory() - Constructor for class org.objectweb.howl.log.LoggerFactory
- logKey - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
the log key associated with the COMMIT record for this transaction
- LogKeyBB - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
Used to putLong(logKey) into logKeyBytes.
- logKeyBytes - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
byte[] representation of logKey.
- logKeyData - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
data record for XADONE record generated by XALogger#putDone().
- LogObject - Class in org.objectweb.howl.log
-
base class for all log objects that require configuration information.
- LogObject(Configuration) - Constructor for class org.objectweb.howl.log.LogObject
-
constructs a LogObject with Configuration supplied by 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 Class 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 class org.objectweb.howl.log.LogRecordSizeException
-
Constructs an instance of this class.
- LogRecordSizeException(int) - Constructor for exception class 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.
- LogState - Class in org.objectweb.howl.log
-
Manage state variables for the Logger instance.
- LogState() - Constructor for class org.objectweb.howl.log.LogState
-
Construct LogState instance.
- lowestSafeLogKey - Variable in class org.objectweb.howl.log.LogFileManager
-
The logKey to be used by LogEventListener.logOverflowNotification when moving records forward into the current log file.
- lr - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- lr - Variable in class org.objectweb.howl.log.xa.XALogger.XAReplayListener
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) - Method in class org.objectweb.howl.log.LogFileManager
-
calls mark(key, false)
- mark(long) - Method in class org.objectweb.howl.log.Logger
-
calls Logger.mark(key, force) with force set to true .
- mark(long, boolean) - Method in class org.objectweb.howl.log.LogFileManager
-
sets the LogFile's mark.
- mark(long, boolean) - Method in class org.objectweb.howl.log.Logger
-
sets the LogFile's mark.
- markFromBsn(int, int) - Method in class org.objectweb.howl.log.LogBufferManager
-
generate a log mark (log key).
- MARKKEY - Static variable in interface org.objectweb.howl.log.LogRecordType
-
Log records containing mark data.
- markRecord - Variable in class org.objectweb.howl.log.LogFileManager
-
MARK control Record.
- markRecordBB - Variable in class org.objectweb.howl.log.LogFileManager
-
ByteBuffer wrapper for markRecord to facilitate conversion of numeric information to byte[] format.
- MAX_BUFFER_SIZE - Static variable in class org.objectweb.howl.log.Configuration
-
maximum size of a LogBuffer (number of K bytes).
- maxAtxUsed - Variable in class org.objectweb.howl.log.xa.XALogger
-
maximum number of used entries.
- maxBlocksPerFile - Variable in class org.objectweb.howl.log.Configuration
-
maximum number of blocks to store in each LogFile.
- maxBlocksPerFile - Variable in class org.objectweb.howl.log.LogFileManager
-
maximum number of blocks to store in each LogFile.
- maxBuffers - Variable in class org.objectweb.howl.log.Configuration
-
maximum number of buffers to be allocated by LogBufferManager.
- maxBuffersForced - Variable in class org.objectweb.howl.log.LogBufferManager
-
maximum number of buffers forced by channel.force()
- maxLogFiles - Variable in class org.objectweb.howl.log.Configuration
-
number of log files to configure.
- maxRecordSize - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
maximum size of user data record.
- maxThreadsWaitingForce - Variable in class org.objectweb.howl.log.LogBufferManager
- maxTimeBetweenForce - Variable in class org.objectweb.howl.log.LogBufferManager
- maxWriteTime - Variable in class org.objectweb.howl.log.LogBufferManager
-
maximum time (ms) for any single write
- minBuffers - Variable in class org.objectweb.howl.log.Configuration
-
minimum number of buffers to be allocated by LogBufferManager.
- minBuffersForced - Variable in class org.objectweb.howl.log.LogBufferManager
-
minimum number of buffers forced by channel.force().
- minTimeBetweenForce - Variable in class org.objectweb.howl.log.LogBufferManager
- movedCount - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- movedRecordCount - Variable in class org.objectweb.howl.log.xa.XALogger
-
number of records moved by log overflow notification processor.
- moving - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
Flag indicating that the log overflow notification routine is in the process of moving this record.
N
- name - Variable in class org.objectweb.howl.log.LogBuffer
-
name of this buffer object.
- newFile - Variable in class org.objectweb.howl.log.LogFile
-
indicates the file was created during the call to open()
- nextFillBSN - Variable in class org.objectweb.howl.log.LogBufferManager
-
next block sequence number for fillBuffer.
- nextIndex - Variable in class org.objectweb.howl.log.LogBufferManager
-
workerID into freeBuffer list maintained in getBuffer.
- nextWriteBSN - Variable in class org.objectweb.howl.log.LogBufferManager
-
next BSN to be written to log.
- noRoomInBuffer - Variable in class org.objectweb.howl.log.LogBufferManager
-
number of times buffer was forced because it is full.
O
- onError(LogException) - Method in interface org.objectweb.howl.log.ReplayListener
-
Called by Logger when an exception is encountered during replay.
- onError(LogException) - Method in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- onError(LogException) - Method in class org.objectweb.howl.log.xa.XALogger.XAReplayListener
- onpWait() - Method in class org.objectweb.howl.log.xa.XALogger
-
wait for overflow notification processor to finish.
- onRecord(LogRecord) - Method in interface org.objectweb.howl.log.ReplayListener
-
Called by Logger for each record retrieved from the log.
- onRecord(LogRecord) - Method in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- onRecord(LogRecord) - Method in class org.objectweb.howl.log.xa.XALogger.XAReplayListener
- open() - Method in class org.objectweb.howl.log.LogBufferManager
-
Allocate pool of IO buffers for Logger.
- open() - Method in class org.objectweb.howl.log.LogFileManager
-
open pool of LogFile(s).
- 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(String) - Method in class org.objectweb.howl.log.LogFile
-
open the file and get the associated nio FileChannel for the file.
- 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.
- OpenReplayListener(ReplayListener) - Constructor for class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- 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.
- overflowFence - Variable in class org.objectweb.howl.log.xa.XALogger
-
log key below which COMMIT records will be copied forward by logOverflowNotification to avoid log overflow exceptions.
- overflowNotificationCount - Variable in class org.objectweb.howl.log.LogFileManager
-
Number of times log overflow event was notified.
- overflowNotificationCount - Variable in class org.objectweb.howl.log.xa.XALogger
-
number of times log overflow notification event was called.
P
- parent - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- parseProperties() - Method in class org.objectweb.howl.log.Configuration
-
initialize member variables from property file.
- position - Variable in class org.objectweb.howl.log.LogFile
-
FileChannel.position() of last read or write.
- prevWriteTOD - Variable in class org.objectweb.howl.log.LogBufferManager
-
LogBuffer.tod from previous buffer written.
- prop - Variable in class org.objectweb.howl.log.Configuration
-
The Properties used to construct this object.
- 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.xa.XALogger
-
add a USER record consisting of byte[][] to the log.
- put(byte[], boolean) - Method in class org.objectweb.howl.log.Logger
-
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.
- put(short, byte[][], boolean) - Method in class org.objectweb.howl.log.BlockLogBuffer
-
puts a data record into the buffer and returns a token for record.
- put(short, byte[][], boolean) - Method in class org.objectweb.howl.log.LogBuffer
-
puts a data record into the buffer and returns a token for record.
- put(short, byte[][], boolean) - Method in class org.objectweb.howl.log.LogBufferManager
-
writes data byte[][] to log and returns a log key.
- 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.
- 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
- read(LogBuffer, int) - Method in class org.objectweb.howl.log.LogFileManager
-
reads a block of data into LogBuffer lb .
- read(LogFile, long) - Method in class org.objectweb.howl.log.BlockLogBuffer
-
Reads a block from LogFile lf and validates header and footer information.
- read(LogFile, long) - Method in class org.objectweb.howl.log.LogBuffer
-
read a block of data from the LogFile object provided in the lf parameter starting at the position specified in the postiion parameter.
- record - Variable in class org.objectweb.howl.log.xa.XACommittingTx
-
reference to the COMMIT data record the TM wrote to the log.
- recordHeaderSize - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
Size of the header for each data record in the block.
- release() - Method in class org.objectweb.howl.log.LogBuffer
-
decrements count of waiting threads and returns updated value.
- releaseBuffer(LogBuffer) - Method in class org.objectweb.howl.log.LogBufferManager
-
decrements count of threads waiting on this buffer.
- replay(ReplayListener) - Method in class org.objectweb.howl.log.Logger
-
Replays log from the active mark forward to the current position.
- 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.Logger
-
Replays log from a specified mark forward to the current mark.
- 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.
- replay(ReplayListener, long, boolean) - Method in class org.objectweb.howl.log.LogBufferManager
-
Replays log from requested mark forward to end of log.
- replay(ReplayListener, long, boolean) - Method in class org.objectweb.howl.log.Logger
-
Allows sub-classes of Logger to replay control records.
- replayActiveTx(ReplayListener) - Method in class org.objectweb.howl.log.xa.XALogger
-
Called by the TM to receive copies of the active transaction entries.
- replayException - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- ReplayListener - Interface in org.objectweb.howl.log
-
Objects that wish to read a log must implement the ReplayListener interface.
- replayNeeded - Variable in class org.objectweb.howl.log.xa.XALogger
-
Set true in open() to indicate that replay is required prior to allowing any calls to put() methods.
- RESTART - Static variable in interface org.objectweb.howl.log.LogRecordType
-
recorded by Logger to mark first block following a restart of the Logger.
- restartAutoMark - Variable in class org.objectweb.howl.log.LogFileManager
-
The automark value restored during log file initialization.
- rewind - Variable in class org.objectweb.howl.log.LogBuffer
-
set true if this LogBuffer should issue a rewind on the FileChannel before writing ByteBuffer.
- rewindCounter - Variable in class org.objectweb.howl.log.LogFile
-
number of times this file position was reset to zero.
- run() - Method in class org.objectweb.howl.log.LogBufferManager.FlushManager
- run() - Method in class org.objectweb.howl.log.LogFileManager.EventManager
-
Wait on eventManagerLock until LogFileManager needs an event to be sent to the registered LogEventListener.
- run() - Method in class org.objectweb.howl.log.Version
S
- save() - Method in class org.objectweb.howl.log.LogState
-
saves state variables to property file.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.InvalidFileSetException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.InvalidLogBufferException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.InvalidLogHeaderException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.InvalidLogKeyException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.LogClosedException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.LogConfigurationException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.LogException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.LogFileOverflowException
-
Determines if a de-serialized file is compatible with this class.
- serialVersionUID - Static variable in exception class org.objectweb.howl.log.LogRecordSizeException
-
Determines if a de-serialized file is compatible with this class.
- setAdler32Checksum(boolean) - Method in class org.objectweb.howl.log.Configuration
- setAutoMark(boolean) - Method in class org.objectweb.howl.log.LogFileManager
-
Sets the LogFile marking mode.
- 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
- setCurrentKey(long) - Method in class org.objectweb.howl.log.LogFileManager
-
updates currentKey member variable.
- setDone(boolean) - Method in class org.objectweb.howl.log.xa.XACommittingTx
- 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
- setLockOnFile(File, boolean) - Method in class org.objectweb.howl.log.LogFileManager
-
Create a JVM wide lock on a File.
- setLogEventListener(LogEventListener) - Method in class org.objectweb.howl.log.LogFileManager
-
Registers a LogEventListener for log event notifications.
- 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
- setLogKey(long) - Method in class org.objectweb.howl.log.xa.XACommittingTx
-
sets the log key associated with the COMMIT record for this transaction.
- setMarkData(ByteBuffer) - Method in class org.objectweb.howl.log.LogFileManager
-
generates MARKKEY data record into supplied data parameter.
- 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
- setMoving(boolean) - Method in class org.objectweb.howl.log.xa.XACommittingTx
-
used by logOverflowNotification to mark XACommittingTx entries in the process of being moved.
- setRecord(byte[][]) - Method in class org.objectweb.howl.log.xa.XACommittingTx
-
saves a reference to the byte[][] containing the COMMIT record data.
- setThreadsWaitingForceThreshold(int) - Method in class org.objectweb.howl.log.Configuration
- setTx(XACommittingTx) - Method in class org.objectweb.howl.log.xa.XALogRecord
-
Called by XALogger ReplayListener to save the XACommitingTx entry associated with an XACOMMIT record.
- shouldForce() - Method in class org.objectweb.howl.log.BlockLogBuffer
-
determines if buffer should be forced to disk.
- shouldForce() - Method in class org.objectweb.howl.log.LogBuffer
-
returns true if the buffer should be forced to disk.
- showConfig(String, int, String) - Method in class org.objectweb.howl.log.Configuration
-
Display the value of an int configuration parameter to System.err if listConfig is true.
- state - Variable in class org.objectweb.howl.log.LogState
- stateFile - Variable in class org.objectweb.howl.log.LogState
- store(OutputStream) - Method in class org.objectweb.howl.log.Configuration
-
Stores configuration properties to OutputStream.
- sync() - Method in class org.objectweb.howl.log.LogBuffer
-
park threads that are waiting for the ByteBuffer to be forced to disk.
- sync(LogBuffer) - Method in class org.objectweb.howl.log.LogBufferManager
-
Waits for logBuffer to be forced to disk.
T
- threadsWaitingForce - Variable in class org.objectweb.howl.log.LogBufferManager
-
number of threads waiting for a force
- threadsWaitingForceThreshold - Variable in class org.objectweb.howl.log.Configuration
-
the maximum number of threads that should wait for an IO force.
- threadsWaitingForceThreshold - Variable in class org.objectweb.howl.log.LogBufferManager
- tmListener - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
-
ReplayListener registered by TM that instantiated this XALogger.
- tmListener - Variable in class org.objectweb.howl.log.xa.XALogger.XAReplayListener
-
ReplayListener registered by TM that instantiated this XALogger.
- tod - Variable in class org.objectweb.howl.log.LogBuffer
-
currentTimeMillis that buffer was initialized.
- tod - Variable in class org.objectweb.howl.log.LogFile
-
currentTimeMillis when LogFileManager switched to this LogFile.
- tod - Variable in class org.objectweb.howl.log.LogRecord
-
currentTimeMillis the log buffer containing this record was initialized.
- todPut - Variable in class org.objectweb.howl.log.BlockLogBuffer
-
currentTimeMillis that last record was added.
- totalForceTime - Variable in class org.objectweb.howl.log.LogBufferManager
-
total amount of time spent in channel.force();
- totalThreadsWaitingForce - Variable in class org.objectweb.howl.log.LogBufferManager
- totalTimeBetweenForce - Variable in class org.objectweb.howl.log.LogBufferManager
-
total time between channel.force() calls
- totalWaitForThis - Variable in class org.objectweb.howl.log.xa.XALogger
-
number of ms that threads waited for overflow processing to complete.
- totalWaitForWriteLockTime - Variable in class org.objectweb.howl.log.LogBufferManager
-
total amount of time (ms) spent waiting for the forceMangerLock
- totalWriteTime - Variable in class org.objectweb.howl.log.LogBufferManager
-
total amount of time spent in channel.write();
- TRACE - Static variable in interface org.objectweb.howl.log.LogEventListener
-
used to trace method entry/exit and other low level events.
- tx - Variable in class org.objectweb.howl.log.xa.XALogRecord
- type - Variable in class org.objectweb.howl.log.LogRecord
-
type of data record.
U
- unmatchedDoneCount - Variable in class org.objectweb.howl.log.xa.XALogger.OpenReplayListener
- USER - Static variable in interface org.objectweb.howl.log.LogRecordType
-
Log records generated by user.
V
- validateFileHeader(LogBuffer) - Method in class org.objectweb.howl.log.LogFileManager
-
Compares values in log file header record with current configuration.
- Version - Class in org.objectweb.howl.log
- Version() - Constructor for class org.objectweb.howl.log.Version
W
- waitForBuffer - Variable in class org.objectweb.howl.log.LogBufferManager
-
number of times there were no buffers available.
- waitForThisCount - Variable in class org.objectweb.howl.log.xa.XALogger
-
number of times threads waited for overflow processing to complete.
- waitingThreads - Variable in class org.objectweb.howl.log.LogBuffer
-
number of waiting threads.
- waitingThreadsLock - Variable in class org.objectweb.howl.log.LogBuffer
-
mutex for synchronizing access to waitingThreads
- WARN - Static variable in interface org.objectweb.howl.log.LogEventListener
-
used to log warnings.
- write() - Method in class org.objectweb.howl.log.BlockLogBuffer
-
write ByteBuffer to the log file.
- write() - Method in class org.objectweb.howl.log.LogBuffer
-
write ByteBuffer to the LogFile.
- write(LogBuffer) - Method in class org.objectweb.howl.log.LogFile
-
Helper provides access to the FileChannel.write() method for the FileChannel associated with this LogFile.
- writeCount - Variable in class org.objectweb.howl.log.LogBufferManager
-
number of times channel.write() called.
- WriteStats() - Constructor for class org.objectweb.howl.log.LogBufferManager.WriteStats
- WRITING - Static variable in interface org.objectweb.howl.log.LogBufferStatus
-
IO Status of LogBuffer while it is being forced (1).
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.
- XACommittingTx(int) - Constructor for class org.objectweb.howl.log.xa.XACommittingTx
-
constructs a new XACommittingTx instance.
- 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.
- XALogger.OpenReplayListener - Class in org.objectweb.howl.log.xa
-
private class used by XALogger to replay the log during log open processing.
- XALogger.XAReplayListener - Class in org.objectweb.howl.log.xa
-
private class used by XALogger.replay() methods.
- 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.
- XAReplayListener(ReplayListener) - Constructor for class org.objectweb.howl.log.xa.XALogger.XAReplayListener
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form