Package org.infinispan.query.clustered
Class SegmentsClusteredQueryCommand
- java.lang.Object
-
- org.infinispan.commands.remote.BaseRpcCommand
-
- org.infinispan.query.clustered.SegmentsClusteredQueryCommand
-
- All Implemented Interfaces:
org.infinispan.commands.remote.CacheRpcCommand,org.infinispan.commands.ReplicableCommand
public class SegmentsClusteredQueryCommand extends org.infinispan.commands.remote.BaseRpcCommand- Since:
- 10.1
-
-
Field Summary
Fields Modifier and Type Field Description static byteCOMMAND_ID
-
Constructor Summary
Constructors Constructor Description SegmentsClusteredQueryCommand(String cacheName, ClusteredQueryOperation clusteredQueryOperation, BitSet segments)SegmentsClusteredQueryCommand(org.infinispan.util.ByteString cacheName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBlock()bytegetCommandId()BitSetgetSegments()CompletableFuture<?>invokeAsync(org.infinispan.factories.ComponentRegistry componentRegistry)booleanisReturnValueExpected()CompletionStage<QueryResponse>perform(org.infinispan.Cache<?,?> cache)voidreadFrom(ObjectInput input)voidsetSegments(BitSet segments)voidwriteTo(ObjectOutput output)-
Methods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOrigin, toString
-
-
-
-
Field Detail
-
COMMAND_ID
public static final byte COMMAND_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SegmentsClusteredQueryCommand
public SegmentsClusteredQueryCommand(org.infinispan.util.ByteString cacheName)
-
SegmentsClusteredQueryCommand
public SegmentsClusteredQueryCommand(String cacheName, ClusteredQueryOperation clusteredQueryOperation, BitSet segments)
-
-
Method Detail
-
setSegments
public void setSegments(BitSet segments)
-
getSegments
public BitSet getSegments()
-
perform
public CompletionStage<QueryResponse> perform(org.infinispan.Cache<?,?> cache)
-
getCommandId
public byte getCommandId()
-
isReturnValueExpected
public boolean isReturnValueExpected()
-
writeTo
public void writeTo(ObjectOutput output) throws IOException
- Throws:
IOException
-
invokeAsync
public CompletableFuture<?> invokeAsync(org.infinispan.factories.ComponentRegistry componentRegistry)
-
readFrom
public void readFrom(ObjectInput input) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
canBlock
public boolean canBlock()
-
-