Class MYSHARDID
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.cluster.MYSHARDID
- All Implemented Interfaces:
BaseResp3Command, Resp3Command
CLUSTER MYSHARDID
Returns the shard ID of the connected node. In Infinispan every node acts as a primary, so the shard ID is the same as the node ID.
- Since:
- 16.2
- See Also:
-
Field Summary
Fields inherited from class RespCommand
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionperform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) Methods inherited from class RespCommand
aclMask, extractKeys, fromByteBuf, fromString, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface BaseResp3Command
aclMask
-
Constructor Details
-
MYSHARDID
public MYSHARDID()
-
-
Method Details
-
perform
public CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
performin interfaceResp3Command
-