org.prevayler.foundation
Class DurableOutputStream

java.lang.Object
  extended by org.prevayler.foundation.DurableOutputStream

public class DurableOutputStream
extends Object


Constructor Summary
DurableOutputStream(File file, boolean journalDiskSync)
           
 
Method Summary
 void close()
           
 File file()
           
 int fileSyncCount()
           
 boolean reallyClosed()
           
 void sync(Guided guide)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DurableOutputStream

public DurableOutputStream(File file,
                           boolean journalDiskSync)
                    throws IOException
Throws:
IOException
Method Detail

sync

public void sync(Guided guide)
          throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

file

public File file()

fileSyncCount

public int fileSyncCount()

reallyClosed

public boolean reallyClosed()


Copyright © 2001-2013. All Rights Reserved.