org.jboss.cache.batch
Class BatchContainer
java.lang.Object
org.jboss.cache.batch.BatchContainer
public class BatchContainer
- extends Object
A container for holding thread locals for batching, to be used with the Cache.startBatch()
and
Cache.endBatch(boolean)
calls.
- Since:
- 3.0
- Author:
- Manik Surtani (manik AT jboss DOT org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchContainer
public BatchContainer()
startBatch
public void startBatch()
throws CacheException
- Throws:
CacheException
endBatch
public void endBatch(boolean success)
getBatchTransaction
public Transaction getBatchTransaction()
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.