public class MultiVMRegionTestCase.MyTransactionListener extends Object implements com.gemstone.gemfire.cache.TransactionListener
| Modifier and Type | Field and Description |
|---|---|
int |
afterCommitCount |
int |
afterFailedCommitCount |
int |
afterRollbackCount |
int |
closeCount |
com.gemstone.gemfire.cache.TransactionId |
expectedTxId |
com.gemstone.gemfire.cache.TransactionEvent |
lastEvent |
| Constructor and Description |
|---|
MyTransactionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
afterFailedCommit(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
afterRollback(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
assertCounts(int commitCount,
int failedCommitCount,
int rollbackCount,
int closeCount1) |
void |
checkAfterCommitCount(int expected) |
void |
close() |
void |
reset() |
public volatile com.gemstone.gemfire.cache.TransactionId expectedTxId
public volatile com.gemstone.gemfire.cache.TransactionEvent lastEvent
public volatile int afterCommitCount
public volatile int afterFailedCommitCount
public volatile int afterRollbackCount
public volatile int closeCount
public void afterCommit(com.gemstone.gemfire.cache.TransactionEvent event)
afterCommit in interface com.gemstone.gemfire.cache.TransactionListenerpublic void afterFailedCommit(com.gemstone.gemfire.cache.TransactionEvent event)
afterFailedCommit in interface com.gemstone.gemfire.cache.TransactionListenerpublic void afterRollback(com.gemstone.gemfire.cache.TransactionEvent event)
afterRollback in interface com.gemstone.gemfire.cache.TransactionListenerpublic void close()
close in interface com.gemstone.gemfire.cache.CacheCallbackpublic void reset()
public void checkAfterCommitCount(int expected)
public void assertCounts(int commitCount,
int failedCommitCount,
int rollbackCount,
int closeCount1)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.