public class LoggingTransactionListener extends LoggingCacheCallback implements com.gemstone.gemfire.cache.TransactionListener
TransactionListener that logs information
about the events it receives.| Constructor and Description |
|---|
LoggingTransactionListener()
Zero-argument constructor required for declarative cache XML
file.
|
| 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) |
protected void |
log(String kind,
com.gemstone.gemfire.cache.TransactionEvent event)
Logs information about a
TransactionEvent |
close, format, format, init, log, log, log, logpublic LoggingTransactionListener()
protected void log(String kind, com.gemstone.gemfire.cache.TransactionEvent event)
TransactionEventkind - The kind of event to be loggedpublic 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.TransactionListenerCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.