org.cruxframework.crux.core.client.db
Class IDXTransaction
java.lang.Object
org.cruxframework.crux.core.client.db.DBObject
org.cruxframework.crux.core.client.db.Transaction
org.cruxframework.crux.core.client.db.IDXTransaction
public class IDXTransaction
- extends Transaction
CRUX INTERNAL CLASS. DO NOT USE IT DIRECTLY.
Indexed DB implementation for Transaction Interface. Use the interface Transaction instead.
- Author:
- Thiago da Rosa de Bustamante
| Fields inherited from class org.cruxframework.crux.core.client.db.DBObject |
logger |
|
Method Summary |
void |
abort()
Abort current transaction and rollback operations. |
FileStore |
getFileStore()
Retrieve a specialized object store for files handling. |
|
getObjectStore(String storeName)
Retrieve an ObjectStore manipulated by the current transaction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
db
protected final IDXAbstractDatabase db
IDXTransaction
protected IDXTransaction(IDXAbstractDatabase db,
String[] storeNames,
Transaction.Mode mode)
getObjectStore
public <K,V> ObjectStore<K,V> getObjectStore(String storeName)
- Retrieve an ObjectStore manipulated by the current transaction.
- Specified by:
getObjectStore in class Transaction
- Type Parameters:
K - V - - Parameters:
storeName -
- Returns:
abort
public void abort()
- Abort current transaction and rollback operations.
- Specified by:
abort in class Transaction
getFileStore
public FileStore getFileStore()
- Retrieve a specialized object store for files handling.
- Specified by:
getFileStore in class Transaction
- Returns:
Copyright © 2014. All rights reserved.