bin.java.org.objectweb.howl.log.LogFileManager.class Maven / Gradle / Ivy
The newest version!
???? 0? ?? ?? ??
????
?
?
????? ?? ?? ?? ?? ?? ?? ?? ???
? ?? ?? ?? ?? ? ??
?? ?? ?? ???
?? ?? ?? ?? ?? ????
&?
??
?? ??
?? ~? ~? ~? ?? ????
2?? ~?
5?
?? ~?
?? ??
??
??
??
??
??? ??
??
??? ??
????
I??
I?
I?
I?
???
???
P??
????
W??
W?
W?
W?
????
_?
?? ??
??
????
f??
{?? ???
??
??
??
?? ??
??
????
u?
??
??
???
{?
{
I
?
~
?
~
??
~
?
?
?
u
{
?
I
W
?!"#$
?% ?&
?'
?( ?)
?*
?+
?, ?- ~.
/0123
45
?? ?6789
?:;<=>?@
?AB
?C
?DE
?FGH
I?IJKLMNO
IPQRSTU ~VWX ~YZ
~[\] ?^_
?`ab EventManager InnerClasses maxBlocksPerFile I
activeMark J automark Z restartAutoMark
currentKey
initialKey
autoMarkOn [B autoMarkOff fileManagerLock Ljava/lang/Object; fileSet ![Lorg/objectweb/howl/log/LogFile; lfIndex currentLogFile Lorg/objectweb/howl/log/LogFile;
fileHeader [[B fileHeaderBB Ljava/nio/ByteBuffer;
markRecord markRecordBB crlf bmgr )Lorg/objectweb/howl/log/LogBufferManager;
eventListener )Lorg/objectweb/howl/log/LogEventListener; eventManagerLock eventManagerThread Ljava/lang/Thread; event LOG_OVERFLOW_EVENT
ConstantValue lowestSafeLogKey overflowNotificationCount initComplete $assertionsDisabled Synthetic +class$org$objectweb$howl$log$LogFileManager Ljava/lang/Class; class$java$lang$System )(Lorg/objectweb/howl/log/Configuration;)V Code LineNumberTable LocalVariableTable this 'Lorg/objectweb/howl/log/LogFileManager; config &Lorg/objectweb/howl/log/Configuration; getLogFileForMark #(J)Lorg/objectweb/howl/log/LogFile; i minBsn minIndex mark lf
requestBsn fsl getLogFileForWrite D(Lorg/objectweb/howl/log/LogBuffer;)Lorg/objectweb/howl/log/LogFile; nextLogFile highMark switchTod type S e /Lorg/objectweb/howl/log/LogRecordSizeException; lb "Lorg/objectweb/howl/log/LogBuffer;
Exceptions detectLogOverflow (I)V bsn setMarkData (Ljava/nio/ByteBuffer;)V data (JZ)J 1Lorg/objectweb/howl/log/LogFileOverflowException; ioe Ljava/io/IOException; key force markData markDataBuffer markKey (J)J read &(Lorg/objectweb/howl/log/LogBuffer;I)I blocksToSkip position setAutoMark (Z)J
setCurrentKey (J)V getHighMark ()J setLogEventListener ,(Lorg/objectweb/howl/log/LogEventListener;)V
setLockOnFile (Ljava/io/File;Z)Z name Ljava/io/File; lock property Ljava/lang/String; open ()V Ljava/io/FileNotFoundException; maxLogFiles logDir logFileName
logFileExt dir
existingFiles init ,(Lorg/objectweb/howl/log/LogBufferManager;)V "Ljava/lang/ClassNotFoundException; next 2Lorg/objectweb/howl/log/InvalidLogBufferException; record "Lorg/objectweb/howl/log/LogRecord;
dataBuffer blockSize fpos validateFileHeader %(Lorg/objectweb/howl/log/LogBuffer;)V fh nFiles nBlocks closeBufferManager closeData closeDataBuffer close Ljava/lang/InterruptedException; interrupted exception getStats ()Ljava/lang/String; stats Ljava/lang/StringBuffer; totalBytesWritten class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 x0
access$000 *(Lorg/objectweb/howl/log/LogFileManager;)J
access$100 R(Lorg/objectweb/howl/log/LogFileManager;)Lorg/objectweb/howl/log/LogEventListener;
access$212 +(Lorg/objectweb/howl/log/LogFileManager;I)I
access$002 +(Lorg/objectweb/howl/log/LogFileManager;J)J
SourceFile LogFileManager.java ? ? ?cdv java/lang/ClassNotFoundException java/lang/NoClassDefFoundErrorRef ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/Object ? ? ? ? ? ? ? ? ? ?ghi ? ? ? ? ? ?
jkl ? ? ? ?
? 2org/objectweb/howl/log/LogFileManager$EventManager LogFileManager.EventManagermnopqR ? ?rstu ?v ?% ?w0 ? ? java/lang/AssertionError nextLogFile == nullx /org/objectweb/howl/log/LogFileOverflowExceptionyMz{|G} ?~? ????i????A? byte[] fileHeader size error ???12 byte[] markRecord size error? ?./ -org/objectweb/howl/log/LogRecordSizeException java/lang/StringBuffer Unhandled LogRecordSizeException?????q?R -org/objectweb/howl/log/InvalidLogKeyException key: ??? less than activeMark: ? greater than currentKey: java/io/IOException LogFileManager.mark() [?q ]????4 "java/lang/IllegalArgumentException BSN must be >= zero? ???>? 'java/lang/UnsupportedOperationException LogFileManager.init() required org.objectweb.howl.?q .locked java.lang.Systemuv???????????? 0org/objectweb/howl/log/LogConfigurationException Must configure two or more files?q?q?q java/io/File?? org/objectweb/howl/log/LogFile / _?? .JK 3LogFileManager.open: unable to obtain lock on file ??qQ? .org/objectweb/howl/log/InvalidFileSetException java/io/FileNotFoundExceptionl??????q .open(); ????? LogBuffer.class not found? LogFile pointer lf is null 0LogFileManager.init(): error reading block zero [de 0org/objectweb/howl/log/InvalidLogBufferException?x @LogFileManager.init(): Attempting to loacate last block of file
at position ???RZ? Unexpected file postion: BLogFileManager.init(): process MARK records in last block of file org/objectweb/howl/log/LogRecord/a ?????'(?????G8 ????A? )LogFileManager.init(): position log file for writing at position
HEADER_TYPE: ????( HEADER_SIZE: expected length( ) found ( )?? 'Current configuration number of files [ $] not equal number of files in set [ Configured file size [ '] blocks not equal previous file size [ ] blocks "FILE_HEADER: expecting CRLF found ?R BLogFileManager.closeBufferManager(): error writing CLOSE record. [lRiR java/lang/InterruptedException?R