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: DataFile [javadoc | source]
java.lang.Object
   org.apache.activemq.util.LinkedNode
      org.apache.activemq.kaha.impl.async.DataFile

All Implemented Interfaces:
    Comparable

Direct Known Subclasses:
    ReadOnlyDataFile

DataFile
Field Summary
protected final  File file     
protected final  Integer dataFileId     
protected final  int preferedSize     
protected  int length     
protected  int referenceCount     
Fields inherited from org.apache.activemq.util.LinkedNode:
next,  prev,  tail
Constructor:
 DataFile(File file,
    int number,
    int preferedSize) 
Method from org.apache.activemq.kaha.impl.async.DataFile Summary:
closeRandomAccessFile,   compareTo,   decrement,   delete,   equals,   getDataFileId,   getFile,   getLength,   getReferenceCount,   hashCode,   increment,   incrementLength,   isUnused,   move,   openRandomAccessFile,   setLength,   toString
Methods from org.apache.activemq.util.LinkedNode:
getHeadNode,   getNext,   getPrevious,   getTailNode,   isHeadNode,   isTailNode,   linkAfter,   linkBefore,   reset,   unlink
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.kaha.impl.async.DataFile Detail:
 public synchronized  void closeRandomAccessFile(RandomAccessFile file) throws IOException 
 public int compareTo(DataFile df) 
 public synchronized int decrement() 
 public synchronized boolean delete() throws IOException 
 public boolean equals(Object o) 
 public Integer getDataFileId() 
 File getFile() 
 public synchronized int getLength() 
 public synchronized int getReferenceCount() 
 public int hashCode() 
 public synchronized int increment() 
 public synchronized  void incrementLength(int size) 
 public synchronized boolean isUnused() 
 public synchronized  void move(File targetDirectory) throws IOException 
 public synchronized RandomAccessFile openRandomAccessFile(boolean appender) throws IOException 
 public  void setLength(int length) 
 public synchronized String toString()