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
ConstructorsConstructorDescriptionEvictAllCommand(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 TypeMethodDescriptionbyteinvokeAsync(org.infinispan.factories.ComponentRegistry registry) booleanvoidreadFrom(ObjectInput input) voidwriteTo(ObjectOutput output) Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOrigin, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, invoke, invokeAsync, isSuccessful, logThrowable
-
Constructor Details
-
EvictAllCommand
Evict all command constructor.- Parameters:
regionName- name of the region to evictregion- 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
-
isReturnValueExpected
public boolean isReturnValueExpected() -
readFrom
-