org.apache.activemq.kaha.impl.data.SyncDataFileWriter.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1 ?
G H I
G J
K
L M N
O
P
Q R
G
S
T U
V W
X
Y Z
[
Y \ ] ^
V _
T `
T a
V b
V c
Y d
e f
V g h i buffer 4Lorg/apache/activemq/util/DataByteArrayOutputStream; dataManager 4Lorg/apache/activemq/kaha/impl/data/DataManagerImpl; 7(Lorg/apache/activemq/kaha/impl/data/DataManagerImpl;)V Code LineNumberTable LocalVariableTable this 7Lorg/apache/activemq/kaha/impl/data/SyncDataFileWriter; fileManager storeItem g(Lorg/apache/activemq/kaha/Marshaller;Ljava/lang/Object;B)Lorg/apache/activemq/kaha/impl/data/DataItem;
marshaller %Lorg/apache/activemq/kaha/Marshaller; payload Ljava/lang/Object; type B size I payloadSize item -Lorg/apache/activemq/kaha/impl/data/DataItem; dataFile -Lorg/apache/activemq/kaha/impl/data/DataFile;
Exceptions j
updateItem h(Lorg/apache/activemq/kaha/impl/data/DataItem;Lorg/apache/activemq/kaha/Marshaller;Ljava/lang/Object;B)V file Ljava/io/RandomAccessFile; force 0(Lorg/apache/activemq/kaha/impl/data/DataFile;)V close ()V
SourceFile SyncDataFileWriter.java $ D " # 2org/apache/activemq/util/DataByteArrayOutputStream ! k D l m n o p 4 q r m s m +org/apache/activemq/kaha/impl/data/DataItem t m u v w x y z { | } ~ ? ? ? ? ? ? ? ? ? ? B ? ? ? ? ? ? ? ? ? ? D ? ? 5org/apache/activemq/kaha/impl/data/SyncDataFileWriter java/lang/Object java/io/IOException reset position (I)V #org/apache/activemq/kaha/Marshaller writePayload )(Ljava/lang/Object;Ljava/io/DataOutput;)V ()I writeByte writeInt setSize 2org/apache/activemq/kaha/impl/data/DataManagerImpl findSpaceForData \(Lorg/apache/activemq/kaha/impl/data/DataItem;)Lorg/apache/activemq/kaha/impl/data/DataFile; +org/apache/activemq/kaha/impl/data/DataFile getRandomAccessFile ()Ljava/io/RandomAccessFile; getOffset ()J java/io/RandomAccessFile seek (J)V getData ()[B write ([BII)V java/lang/Boolean TRUE Ljava/lang/Boolean;
setWriterData (Ljava/lang/Object;)V addInterestInFile getDataFile W(Lorg/apache/activemq/kaha/StoreLocation;)Lorg/apache/activemq/kaha/impl/data/DataFile;
getWriterData ()Ljava/lang/Object; isDirty ()Z getFD ()Ljava/io/FileDescriptor; java/io/FileDescriptor sync setDirty (Z)V 1 ! " # $ % &