Class EvictAllCommand

java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.hibernate.cache.commons.util.EvictAllCommand
All Implemented Interfaces:
org.infinispan.commands.remote.CacheRpcCommand, org.infinispan.commands.ReplicableCommand

public class EvictAllCommand extends org.infinispan.commands.remote.BaseRpcCommand
Evict all command
Since:
4.0
Author:
Galder ZamarreƱo
  • Field Summary

    Fields inherited from class org.infinispan.commands.remote.BaseRpcCommand

    cacheName, origin
  • Constructor Summary

    Constructors
    Constructor
    Description
    EvictAllCommand(org.infinispan.util.ByteString regionName)
    Evict all command constructor.
    EvictAllCommand(org.infinispan.util.ByteString regionName, InfinispanBaseRegion region)
    Evict all command constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
     
    invokeAsync(org.infinispan.factories.ComponentRegistry registry)
     
    boolean
     
    void
     
    void
     

    Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand

    getCacheName, getOrigin, setOrigin, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.infinispan.commands.ReplicableCommand

    canBlock, invoke, invokeAsync, isSuccessful, logThrowable
  • Constructor Details

    • EvictAllCommand

      public EvictAllCommand(org.infinispan.util.ByteString regionName, InfinispanBaseRegion region)
      Evict all command constructor.
      Parameters:
      regionName - name of the region to evict
      region - to evict
    • EvictAllCommand

      public EvictAllCommand(org.infinispan.util.ByteString regionName)
      Evict all command constructor.
      Parameters:
      regionName - name of the region to evict
  • Method Details

    • invokeAsync

      public CompletionStage<?> invokeAsync(org.infinispan.factories.ComponentRegistry registry) throws Throwable
      Throws:
      Throwable
    • getCommandId

      public byte getCommandId()
    • writeTo

      public void writeTo(ObjectOutput output)
    • isReturnValueExpected

      public boolean isReturnValueExpected()
    • readFrom

      public void readFrom(ObjectInput input)