Sleuth Kit Java Bindings (JNI)  4.6
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.Transaction Interface Reference

Public Member Functions

void close ()
 
void commit ()
 
Boolean isClosed ()
 
Boolean isCommitted ()
 
void rollback ()
 

Detailed Description

interface to encapsulate database transactions

Definition at line 27 of file Transaction.java.

Member Function Documentation

void org.sleuthkit.datamodel.Transaction.close ( )

close this Transaction so it cannot be committed or rolledback. A closed Transaction no longer has a reference to a db Connection and methods invoked on a closed Transaction have no effect.

void org.sleuthkit.datamodel.Transaction.commit ( )

commit this transaction to the database

Boolean org.sleuthkit.datamodel.Transaction.isClosed ( )
Returns
true if this transaction is closed
Boolean org.sleuthkit.datamodel.Transaction.isCommitted ( )

check whether this transaction has already been committed

Returns
whether this transaction has already been committed
void org.sleuthkit.datamodel.Transaction.rollback ( )

rollback whatever changes this transaction represents


The documentation for this interface was generated from the following file:

Copyright © 2011-2018 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.