public class T_TWC
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.derby.iapi.services.context.ContextManager |
cm |
protected org.apache.derby.iapi.services.context.ContextService |
contextService |
protected org.apache.derby.iapi.services.locks.LockFactory |
lf |
protected org.apache.derby.iapi.store.raw.RawStoreFactory |
rawStore |
protected org.apache.derby.iapi.store.raw.Transaction |
tran |
| Constructor and Description |
|---|
T_TWC(org.apache.derby.iapi.services.context.ContextService contextService,
org.apache.derby.iapi.services.locks.LockFactory lockFactory,
org.apache.derby.iapi.store.raw.RawStoreFactory rawStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
checkNullLockCount() |
void |
commit() |
org.apache.derby.iapi.store.raw.GlobalTransactionId |
getId() |
void |
logAndDo(org.apache.derby.iapi.store.raw.Loggable l) |
void |
resetContext() |
void |
rollbackToSavePoint(java.lang.String sp,
java.lang.Object kindOfSavepoint) |
void |
setSavePoint(java.lang.String sp,
java.lang.Object kindOfSavepoint) |
T_TWC |
startUserTransaction() |
void |
switchTransactionContext() |
protected org.apache.derby.iapi.store.raw.Transaction tran
protected org.apache.derby.iapi.services.context.ContextManager cm
protected org.apache.derby.iapi.services.context.ContextService contextService
protected org.apache.derby.iapi.services.locks.LockFactory lf
protected org.apache.derby.iapi.store.raw.RawStoreFactory rawStore
public T_TWC(org.apache.derby.iapi.services.context.ContextService contextService,
org.apache.derby.iapi.services.locks.LockFactory lockFactory,
org.apache.derby.iapi.store.raw.RawStoreFactory rawStoreFactory)
public T_TWC startUserTransaction() throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionpublic void checkNullLockCount()
public void setSavePoint(java.lang.String sp,
java.lang.Object kindOfSavepoint)
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionpublic void rollbackToSavePoint(java.lang.String sp,
java.lang.Object kindOfSavepoint)
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionpublic void switchTransactionContext()
public void resetContext()
public void logAndDo(org.apache.derby.iapi.store.raw.Loggable l)
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionpublic void commit()
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionpublic void abort()
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionpublic org.apache.derby.iapi.store.raw.GlobalTransactionId getId()
throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.