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>, org.wildfly.clustering.cache.batch.Batch, org.wildfly.clustering.cache.batch.SuspendedBatch, Contextual, ContextualBatch, ContextualSuspendedBatch, org.wildfly.clustering.function.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 org.wildfly.clustering.cache.batch.Batch
org.wildfly.clustering.cache.batch.Batch.Status -
Field Summary
Fields inherited from interface ContextualBatch
LOGGERFields inherited from interface org.wildfly.clustering.function.Supplier
NULL -
Method Summary
Methods inherited from class AbstractContextualBatch
attach, close, get, getNameMethods inherited from interface org.wildfly.clustering.cache.batch.Batch
suspendWithContextMethods inherited from interface Contextual
attach, getNameMethods inherited from interface org.wildfly.clustering.function.Supplier
handle, thenAccept, thenApply, thenApplyAsDouble, thenApplyAsInt, thenApplyAsLong, thenTestMethods inherited from interface org.wildfly.clustering.cache.batch.SuspendedBatch
resumeWithContext
-
Method Details
-
getStatus
public org.wildfly.clustering.cache.batch.Batch.Status getStatus()- Specified by:
getStatusin interfaceorg.wildfly.clustering.cache.batch.Batch
-
resume
- Specified by:
resumein interfaceContextualSuspendedBatch- Specified by:
resumein interfaceorg.wildfly.clustering.cache.batch.SuspendedBatch
-
suspend
- Specified by:
suspendin interfaceorg.wildfly.clustering.cache.batch.Batch- Specified by:
suspendin interfaceContextualBatch
-
discard
public void discard()- Specified by:
discardin interfaceorg.wildfly.clustering.cache.batch.Batch
-
hashCode
-
equals
-
toString
-