Class SimpleContextualBatch
java.lang.Object
org.wildfly.clustering.cache.infinispan.batch.AbstractContextualBatch
org.wildfly.clustering.cache.infinispan.batch.SimpleContextualBatch
- All Implemented Interfaces:
AutoCloseable, Supplier<ContextualBatch>, Batch, SuspendedBatch, Contextual, ContextualBatch, ContextualSuspendedBatch, Supplier<ContextualBatch>
public class SimpleContextualBatch
extends AbstractContextualBatch
implements ContextualSuspendedBatch
A simple extendable batch with no suspend/resume behavior.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface Batch
Batch.Status -
Field Summary
Fields inherited from interface ContextualBatch
LOGGER -
Method Summary
Methods inherited from class AbstractContextualBatch
attach, close, get, getNameMethods inherited from interface Batch
suspendWithContextMethods inherited from interface Contextual
attach, getNameMethods inherited from interface Supplier
handle, thenAccept, thenApply, thenApplyAsDouble, thenApplyAsInt, thenApplyAsLong, thenTestMethods inherited from interface SuspendedBatch
resumeWithContext
-
Method Details
-
getStatus
Description copied from interface:BatchReturns the status of this batch. -
resume
Description copied from interface:SuspendedBatchResumes this batch.- Specified by:
resumein interfaceContextualSuspendedBatch- Specified by:
resumein interfaceSuspendedBatch- Returns:
- the resumed batch.
-
suspend
Description copied from interface:BatchSuspends this batch.- Specified by:
suspendin interfaceBatch- Specified by:
suspendin interfaceContextualBatch- Returns:
- a suspended batch
-
discard
-
hashCode
-
equals
-
toString
-