Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » kaha » impl » async » [javadoc | source]
org.apache.activemq.kaha.impl.async
final class: DataFileAccessor [javadoc | source]
java.lang.Object
   org.apache.activemq.kaha.impl.async.DataFileAccessor
Optimized Store reader and updater. Single threaded and synchronous. Use in conjunction with the DataFileAccessorPool of concurrent use.
Constructor:
 public DataFileAccessor(AsyncDataManager dataManager,
    DataFile dataFile) throws IOException 
    Construct a Store reader
    Parameters:
    fileId -
    Throws:
    IOException -
Method from org.apache.activemq.kaha.impl.async.DataFileAccessor Summary:
dispose,   getDataFile,   readLocationDetails,   readLocationDetailsAndValidate,   readRecord,   updateRecord
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.kaha.impl.async.DataFileAccessor Detail:
 public  void dispose() 
 public DataFile getDataFile() 
 public  void readLocationDetails(Location location) throws IOException 
 public boolean readLocationDetailsAndValidate(Location location) 
 public ByteSequence readRecord(Location location) throws IOException 
 public  void updateRecord(Location location,
    ByteSequence data,
    boolean sync) throws IOException