public class BatchContainer extends Object
Cache.startBatch() and
Cache.endBatch(boolean) calls.| Constructor and Description |
|---|
BatchContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
endBatch(boolean success) |
void |
endBatch(boolean autoBatch,
boolean success) |
Transaction |
getBatchTransaction() |
boolean |
isSuspendTxAfterInvocation() |
boolean |
startBatch()
Starts a batch
|
boolean |
startBatch(boolean autoBatch) |
public boolean startBatch()
throws CacheException
CacheExceptionpublic boolean startBatch(boolean autoBatch)
throws CacheException
CacheExceptionpublic void endBatch(boolean success)
public void endBatch(boolean autoBatch,
boolean success)
public Transaction getBatchTransaction()
public boolean isSuspendTxAfterInvocation()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.