NonBlockingStore
@Deprecated public interface TransactionalCacheWriter<K,V> extends AdvancedCacheWriter<K,V>
AdvancedCacheWriter.PurgeListener<K>
Modifier and Type | Method and Description |
---|---|
void |
commit(Transaction transaction)
Deprecated.
Commit the provided transaction's changes to the underlying store.
|
void |
prepareWithModifications(Transaction transaction,
BatchModification batchModification)
Deprecated.
Write modifications to the store in the prepare phase, as this is the only way we know the FINAL values of the entries.
|
void |
rollback(Transaction transaction)
Deprecated.
Rollback the provided transaction's changes to the underlying store.
|
clear, purge
bulkUpdate, delete, deleteBatch, init, isAvailable, write
void prepareWithModifications(Transaction transaction, BatchModification batchModification) throws PersistenceException
transaction
- the current transactional context.batchModification
- an object containing the write/remove operations required for this transaction.PersistenceException
- if an error occurs when communicating/performing writes on the underlying store.void commit(Transaction transaction)
transaction
- the current transactional context.void rollback(Transaction transaction)
transaction
- the current transactional context.Copyright © 2021 JBoss by Red Hat. All rights reserved.