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
public class: ReadOnlyAsyncDataManager [javadoc | source]
java.lang.Object
   org.apache.activemq.kaha.impl.async.AsyncDataManager
      org.apache.activemq.kaha.impl.async.ReadOnlyAsyncDataManager
An AsyncDataManager that works in read only mode against multiple data directories. Useful for reading back archived data files.
Fields inherited from org.apache.activemq.kaha.impl.async.AsyncDataManager:
CONTROL_RECORD_MAX_LENGTH,  ITEM_HEAD_RESERVED_SPACE,  ITEM_HEAD_SPACE,  ITEM_HEAD_OFFSET_TO_SOR,  ITEM_FOOT_SPACE,  ITEM_HEAD_FOOT_SPACE,  ITEM_HEAD_SOR,  ITEM_HEAD_EOR,  DATA_ITEM_TYPE,  REDO_ITEM_TYPE,  DEFAULT_DIRECTORY,  DEFAULT_ARCHIVE_DIRECTORY,  DEFAULT_FILE_PREFIX,  DEFAULT_MAX_FILE_LENGTH,  DEFAULT_CLEANUP_INTERVAL,  PREFERED_DIFF,  scheduler,  inflightWrites,  directory,  directoryArchive,  filePrefix,  controlFile,  started,  useNio,  maxFileLength,  preferedFileLength,  appender,  accessorPool,  fileMap,  fileByFileMap,  currentWriteFile,  mark,  lastAppendLocation,  cleanupTask,  storeSize,  archiveDataLogs
Constructor:
 public ReadOnlyAsyncDataManager(ArrayList<File> dirs) 
Method from org.apache.activemq.kaha.impl.async.ReadOnlyAsyncDataManager Summary:
close,   delete,   getFirstLocation,   start
Methods from org.apache.activemq.kaha.impl.async.AsyncDataManager:
addInterestInFile,   addInterestInFile,   allocateLocation,   cleanup,   close,   consolidateDataFiles,   consolidateDataFilesNotIn,   consolidateDataFilesNotIn,   delete,   getCurrentDataFileId,   getDataFile,   getDirectory,   getDirectoryArchive,   getDiskSize,   getDiskSizeUntil,   getFile,   getFilePrefix,   getFiles,   getInflightWrites,   getLastAppendLocation,   getMark,   getMaxFileLength,   getNextLocation,   getNextLocation,   getNextLocation,   isArchiveDataLogs,   isUseNio,   lock,   read,   recoveryCheck,   removeInterestInFile,   removeInterestInFile,   removeLocation,   setArchiveDataLogs,   setDirectory,   setDirectoryArchive,   setFilePrefix,   setLastAppendLocation,   setMark,   setMaxFileLength,   setUseNio,   start,   storeState,   toString,   unmarshallState,   update,   write,   write,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.kaha.impl.async.ReadOnlyAsyncDataManager Detail:
 public synchronized  void close() throws IOException 
 public synchronized boolean delete() throws IOException 
 public Location getFirstLocation() throws IllegalStateException, IOException 
 public synchronized  void start() throws IOException