Home » activemq-parent-5.3.1-source-release » org.apache » activemq » kaha » impl » data » [javadoc | source]
org.apache.activemq.kaha.impl.data
public final class: SyncDataFileWriter [javadoc | source]
java.lang.Object
   org.apache.activemq.kaha.impl.data.SyncDataFileWriter
Optimized Store writer. Synchronously marshalls and writes to the data file. Simple but may introduce a bit of contention when put under load.
Constructor:
 SyncDataFileWriter(DataManagerImpl fileManager) 
    Construct a Store writer
    Parameters:
    fileId -
Method from org.apache.activemq.kaha.impl.data.SyncDataFileWriter Summary:
close,   force,   storeItem,   updateItem
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.kaha.impl.data.SyncDataFileWriter Detail:
 public  void close() throws IOException 
 public synchronized  void force(DataFile dataFile) throws IOException 
 public synchronized DataItem storeItem(Marshaller marshaller,
    Object payload,
    byte type) throws IOException 
 public synchronized  void updateItem(DataItem item,
    Marshaller marshaller,
    Object payload,
    byte type) throws IOException