org.elasticsearch.index.translog.fs
Class RafReference

java.lang.Object
  extended by org.elasticsearch.index.translog.fs.RafReference

public class RafReference
extends java.lang.Object


Constructor Summary
RafReference(java.io.File file)
           
 
Method Summary
 void decreaseRefCount(boolean delete)
           
 java.io.File file()
           
 void increaseRefCount()
           
 java.io.RandomAccessFile raf()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RafReference

public RafReference(java.io.File file)
             throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

file

public java.io.File file()

raf

public java.io.RandomAccessFile raf()

increaseRefCount

public void increaseRefCount()

decreaseRefCount

public void decreaseRefCount(boolean delete)