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

    LOGGER

    Fields inherited from interface org.wildfly.clustering.function.Supplier

    NULL
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    equals(Object object)
     
    org.wildfly.clustering.cache.batch.Batch.Status
     
    int
     
     
     
     

    Methods inherited from class AbstractContextualBatch

    attach, close, get, getName

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.cache.batch.Batch

    suspendWithContext

    Methods inherited from interface Contextual

    attach, getName

    Methods inherited from interface org.wildfly.clustering.function.Supplier

    handle, thenAccept, thenApply, thenApplyAsDouble, thenApplyAsInt, thenApplyAsLong, thenTest

    Methods inherited from interface org.wildfly.clustering.cache.batch.SuspendedBatch

    resumeWithContext
  • Method Details

    • getStatus

      public org.wildfly.clustering.cache.batch.Batch.Status getStatus()
      Specified by:
      getStatus in interface org.wildfly.clustering.cache.batch.Batch
    • resume

      public ContextualBatch resume()
      Specified by:
      resume in interface ContextualSuspendedBatch
      Specified by:
      resume in interface org.wildfly.clustering.cache.batch.SuspendedBatch
    • suspend

      public ContextualSuspendedBatch suspend()
      Specified by:
      suspend in interface org.wildfly.clustering.cache.batch.Batch
      Specified by:
      suspend in interface ContextualBatch
    • discard

      public void discard()
      Specified by:
      discard in interface org.wildfly.clustering.cache.batch.Batch
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object