public interface TransactionWriter extends CacheCallback
TransactionWriterException to veto the transaction.CacheTransactionManager.setWriter(org.apache.geode.cache.TransactionWriter)| Modifier and Type | Method and Description |
|---|---|
void |
beforeCommit(TransactionEvent event)
Called before the transaction has finished committing, but after conflict checking.
|
closevoid beforeCommit(TransactionEvent event) throws TransactionWriterException
event - the TransactionEventTransactionWriterException - in the event that the transaction should be rolled backCacheTransactionManager.commit()