Uses of Class
org.objectweb.howl.log.LogBuffer
-
Packages that use LogBuffer Package Description org.objectweb.howl.log Core functionality for any log file implementation. -
-
Uses of LogBuffer in org.objectweb.howl.log
Subclasses of LogBuffer in org.objectweb.howl.log Modifier and Type Class Description (package private) class
BlockLogBuffer
An implementation of LogBuffer that provides features necessary for a reliable Transaction Monitor journal.(package private) class
BlockLogBufferSink
An implementation of BlockLogBuffer that does *not* perform IO.Fields in org.objectweb.howl.log declared as LogBuffer Modifier and Type Field Description (package private) LogBuffer
LogRecord. buffer
used by Logger.get() and Logger.getNext() to retrieve records from the journal.private LogBuffer[]
LogBufferManager. bufferList
array of all LogBuffer objects allocated.private LogBuffer
LogBufferManager. fillBuffer
The LogBuffer that is currently being filled.private LogBuffer[]
LogBufferManager. forceQueue
queue of buffers waiting to be written.private LogBuffer[]
LogBufferManager. freeBuffer
array of LogBuffer objects available for fillingMethods in org.objectweb.howl.log that return LogBuffer Modifier and Type Method Description private LogBuffer
LogBufferManager. getFillBuffer()
returns a LogBuffer to be filled.(package private) LogBuffer
LogBufferManager. getLogBuffer(int index)
return a new instance of LogBuffer.(package private) LogBuffer
BlockLogBuffer. init(int bsn, LogFileManager lfm)
initialize members for buffer reuse.(package private) abstract LogBuffer
LogBuffer. init(int bsn, LogFileManager lfm)
initialize members for LogBuffer implementation class for reuse.(package private) LogBuffer
BlockLogBuffer. read(LogFile lf, long position)
Reads a block from LogFile lf and validates header and footer information.(package private) abstract LogBuffer
LogBuffer. read(LogFile lf, long position)
read a block of data from the LogFile object provided in the lf parameter starting at the position specified in the postiion parameter.Methods in org.objectweb.howl.log with parameters of type LogBuffer Modifier and Type Method Description (package private) void
LogBufferManager. fqAdd(LogBuffer buffer)
Add a buffer to the forceQueue.protected LogRecord
LogRecord. get(LogBuffer lb)
protected method to copy next logical record from the LogBuffer specified by the callers lb parameter.(package private) LogFile
LogFileManager. getLogFileForWrite(LogBuffer lb)
Called by LogBuffer.init() to obtain the LogFile that will be used to write a specific log block.private LogRecord
LogRecord. getNext(LogBuffer lb)
helper for get().(package private) int
LogFileManager. read(LogBuffer lb, int bsn)
reads a block of data into LogBuffer lb .private void
LogBufferManager. releaseBuffer(LogBuffer buffer)
decrements count of threads waiting on this buffer.private void
LogBufferManager. sync(LogBuffer logBuffer)
Waits for logBuffer to be forced to disk.(package private) void
LogFileManager. validateFileHeader(LogBuffer lb)
Compares values in log file header record with current configuration.(package private) void
LogFile. write(LogBuffer lb)
Helper provides access to the FileChannel.write() method for the FileChannel associated with this LogFile.
-