public interface TransactionWriter extends CacheCallback
TransactionWriterException
to veto the transaction.CacheTransactionManager.setWriter(com.gemstone.gemfire.cache.TransactionWriter)
Modifier and Type | Method and Description |
---|---|
void |
beforeCommit(TransactionEvent event)
Called before the transaction has finished committing, but after conflict checking.
|
close
void beforeCommit(TransactionEvent event) throws TransactionWriterException
event
- the TransactionEventTransactionWriterException
- in the event that the transaction should be rolled backCacheTransactionManager.commit()
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.