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) classBlockLogBufferAn implementation of LogBuffer that provides features necessary for a reliable Transaction Monitor journal.(package private) classBlockLogBufferSinkAn implementation of BlockLogBuffer that does *not* perform IO.Fields in org.objectweb.howl.log declared as LogBuffer Modifier and Type Field Description (package private) LogBufferLogRecord. bufferused by Logger.get() and Logger.getNext() to retrieve records from the journal.private LogBuffer[]LogBufferManager. bufferListarray of all LogBuffer objects allocated.private LogBufferLogBufferManager. fillBufferThe LogBuffer that is currently being filled.private LogBuffer[]LogBufferManager. forceQueuequeue of buffers waiting to be written.private LogBuffer[]LogBufferManager. freeBufferarray of LogBuffer objects available for fillingMethods in org.objectweb.howl.log that return LogBuffer Modifier and Type Method Description private LogBufferLogBufferManager. getFillBuffer()returns a LogBuffer to be filled.(package private) LogBufferLogBufferManager. getLogBuffer(int index)return a new instance of LogBuffer.(package private) LogBufferBlockLogBuffer. init(int bsn, LogFileManager lfm)initialize members for buffer reuse.(package private) abstract LogBufferLogBuffer. init(int bsn, LogFileManager lfm)initialize members for LogBuffer implementation class for reuse.(package private) LogBufferBlockLogBuffer. read(LogFile lf, long position)Reads a block from LogFile lf and validates header and footer information.(package private) abstract LogBufferLogBuffer. 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) voidLogBufferManager. fqAdd(LogBuffer buffer)Add a buffer to the forceQueue.protected LogRecordLogRecord. get(LogBuffer lb)protected method to copy next logical record from the LogBuffer specified by the callers lb parameter.(package private) LogFileLogFileManager. getLogFileForWrite(LogBuffer lb)Called by LogBuffer.init() to obtain the LogFile that will be used to write a specific log block.private LogRecordLogRecord. getNext(LogBuffer lb)helper for get().(package private) intLogFileManager. read(LogBuffer lb, int bsn)reads a block of data into LogBuffer lb .private voidLogBufferManager. releaseBuffer(LogBuffer buffer)decrements count of threads waiting on this buffer.private voidLogBufferManager. sync(LogBuffer logBuffer)Waits for logBuffer to be forced to disk.(package private) voidLogFileManager. validateFileHeader(LogBuffer lb)Compares values in log file header record with current configuration.(package private) voidLogFile. write(LogBuffer lb)Helper provides access to the FileChannel.write() method for the FileChannel associated with this LogFile.
-