org.hypergraphdb.transaction
Class VanillaTransaction
java.lang.Object
org.hypergraphdb.transaction.VanillaTransaction
- All Implemented Interfaces:
- HGTransaction
public class VanillaTransaction
- extends java.lang.Object
- implements HGTransaction
This is a HGTransaction implementation that only maintains
the attribute map. It is for use when transactions are disabled.
- Author:
- Borislav Iordanov
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VanillaTransaction
public VanillaTransaction()
abort
public void abort()
throws HGTransactionException
- Specified by:
abort in interface HGTransaction
- Throws:
HGTransactionException
commit
public void commit()
throws HGTransactionException
- Specified by:
commit in interface HGTransaction
- Throws:
HGTransactionException
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute in interface HGTransaction
getAttributeNames
public java.util.Iterator<java.lang.String> getAttributeNames()
- Specified by:
getAttributeNames in interface HGTransaction
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute in interface HGTransaction
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute in interface HGTransaction