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.BaseRpcCommandEvict all command- Since:
- 4.0
- Author:
- Galder ZamarreƱo
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetCommandId()CompletionStage<?>invokeAsync(org.infinispan.factories.ComponentRegistry registry)booleanisReturnValueExpected()voidreadFrom(ObjectInput input)voidwriteTo(ObjectOutput output)-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOrigin, toString
-
-
-
-
Constructor Detail
-
EvictAllCommand
public EvictAllCommand(org.infinispan.util.ByteString regionName, InfinispanBaseRegion region)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 Detail
-
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)
-
-