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,org.infinispan.commands.TracedCommand
public class SegmentsClusteredQueryCommand
extends org.infinispan.commands.remote.BaseRpcCommand
- Since:
- 10.1
-
Field Summary
FieldsFields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin -
Constructor Summary
ConstructorsConstructorDescriptionSegmentsClusteredQueryCommand(String cacheName, ClusteredQueryOperation clusteredQueryOperation, BitSet segments) SegmentsClusteredQueryCommand(org.infinispan.util.ByteString cacheName) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBlock()byteinvokeAsync(org.infinispan.factories.ComponentRegistry componentRegistry) booleanperform(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.ReplicableCommand
invoke, invokeAsync, isSuccessful, logThrowableMethods inherited from interface org.infinispan.commands.TracedCommand
getOperationName, getSpanAttributes, setSpanAttributes
-
Field Details
-
COMMAND_ID
public static final byte COMMAND_ID- See Also:
-
-
Constructor Details
-
SegmentsClusteredQueryCommand
public SegmentsClusteredQueryCommand(org.infinispan.util.ByteString cacheName) -
SegmentsClusteredQueryCommand
public SegmentsClusteredQueryCommand(String cacheName, ClusteredQueryOperation clusteredQueryOperation, BitSet segments)
-
-
Method Details
-
setSegments
-
getSegments
-
perform
-
getCommandId
public byte getCommandId() -
isReturnValueExpected
public boolean isReturnValueExpected() -
writeTo
- Throws:
IOException
-
invokeAsync
public CompletableFuture<?> invokeAsync(org.infinispan.factories.ComponentRegistry componentRegistry) -
readFrom
- Throws:
IOExceptionClassNotFoundException
-
canBlock
public boolean canBlock()
-