Class NODES
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.cluster.NODES
- All Implemented Interfaces:
Resp3Command
CLUSTER NODES
A command that uses the current CacheTopology
and ConsistentHash
to retrieve information about
the nodes. The response slightly changes with the node executing the command, as it is necessary to identify itself.
The execution is broadcast for nodes in the topology to identify themselves. So the response are cached according
to the node that executed the command and the topology.
- Since:
- 15.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConsistentHash
protected CompletionStage
<CharSequence> Fields inherited from class org.infinispan.server.resp.RespCommand
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
aclMask()
perform
(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) protected static CompletionStage
<CharSequence> requestClusterInformation
(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, EmbeddedCacheManager ecm, CacheTopology topology) Methods inherited from class org.infinispan.server.resp.RespCommand
extractKeys, fromByteBuf, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toString
-
Field Details
-
hash
-
response
-
-
Constructor Details
-
NODES
public NODES()
-
-
Method Details
-
aclMask
public long aclMask()- Specified by:
aclMask
in classRespCommand
-
perform
public CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
perform
in interfaceResp3Command
-
requestClusterInformation
protected static CompletionStage<CharSequence> requestClusterInformation(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, EmbeddedCacheManager ecm, CacheTopology topology)
-