Class AbstractContextualBatch
java.lang.Object
org.wildfly.clustering.cache.infinispan.batch.AbstractContextualBatch
- All Implemented Interfaces:
AutoCloseable,Supplier<ContextualBatch>,Batch,Contextual,ContextualBatch,Supplier<ContextualBatch>
- Direct Known Subclasses:
DefaultTransactionalBatch,SimpleContextualBatch
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.wildfly.clustering.cache.batch.Batch
Batch.Status -
Field Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.cache.batch.Batch
discard, getStatus, suspendWithContextMethods inherited from interface org.wildfly.clustering.cache.infinispan.batch.ContextualBatch
suspend
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<ContextualBatch>
-
getName
Description copied from interface:ContextualReturns the name of this context.- Specified by:
getNamein interfaceContextual- Returns:
- the name of this context.
-
attach
Description copied from interface:ContextualAttach this context to the specified exception.- Specified by:
attachin interfaceContextual- Parameters:
exception- an exception to which to attach this context.
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceBatch
-