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
-
-
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 byte
getCommandId()
boolean
isReturnValueExpected()
Object
perform(org.infinispan.context.InvocationContext ctx)
void
readFrom(ObjectInput input)
void
writeTo(ObjectOutput output)
-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
canBlock, 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
-
perform
public Object perform(org.infinispan.context.InvocationContext ctx) throws Throwable
- Throws:
Throwable
-
getCommandId
public byte getCommandId()
-
writeTo
public void writeTo(ObjectOutput output)
-
isReturnValueExpected
public boolean isReturnValueExpected()
-
readFrom
public void readFrom(ObjectInput input)
-
-