org.ontobox.fast
Class TransactionRW

java.lang.Object
  extended by org.ontobox.fast.TransactionRW
All Implemented Interfaces:
Transaction

public class TransactionRW
extends java.lang.Object
implements Transaction

Author:
Anton Malykh

Constructor Summary
TransactionRW(Engine engine)
           
 
Method Summary
 void close(boolean rollback)
           
protected  void finalize()
           
<R> R
read(ReadAction<R> action)
           
 void write(WriteAction action)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionRW

public TransactionRW(Engine engine)
Method Detail

write

public final void write(WriteAction action)
Specified by:
write in interface Transaction

read

public final <R> R read(ReadAction<R> action)
Specified by:
read in interface Transaction

close

public final void close(boolean rollback)
Specified by:
close in interface Transaction

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable