public abstract class TestTransactionListener extends TestCacheCallback implements com.gemstone.gemfire.cache.TransactionListener
TransactionListener used in testing. Its callback methods
are implemented to throw UnsupportedOperationException
unless the user overrides the "2" methods.TestCacheCallback.wasInvoked()callbackError| Constructor and Description |
|---|
TestTransactionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
afterCommit2(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
afterFailedCommit(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
afterFailedCommit2(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
afterRollback(com.gemstone.gemfire.cache.TransactionEvent event) |
void |
afterRollback2(com.gemstone.gemfire.cache.TransactionEvent event) |
close, close2, isClosed, waitForInvocation, wasInvokedpublic final void afterCommit(com.gemstone.gemfire.cache.TransactionEvent event)
afterCommit in interface com.gemstone.gemfire.cache.TransactionListenerpublic void afterCommit2(com.gemstone.gemfire.cache.TransactionEvent event)
public final void afterFailedCommit(com.gemstone.gemfire.cache.TransactionEvent event)
afterFailedCommit in interface com.gemstone.gemfire.cache.TransactionListenerpublic void afterFailedCommit2(com.gemstone.gemfire.cache.TransactionEvent event)
public final void afterRollback(com.gemstone.gemfire.cache.TransactionEvent event)
afterRollback in interface com.gemstone.gemfire.cache.TransactionListenerpublic void afterRollback2(com.gemstone.gemfire.cache.TransactionEvent event)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.