public interface BatchingCache
Modifier and Type | Method and Description |
---|---|
void |
endBatch(boolean successful)
Completes a batch if one has been started using
startBatch() . |
boolean |
startBatch()
Starts a batch.
|
boolean startBatch()
void endBatch(boolean successful)
startBatch()
. If no batch has been started, this is a
no-op.
successful
- if true, the batch completes, otherwise the batch is aborted and changes are not committed.Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.