Class NODES
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.cluster.NODES
- All Implemented Interfaces:
BaseResp3Command
,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 TypeMethodDescriptionperform
(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
aclMask, extractKeys, fromByteBuf, fromString, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.server.resp.commands.BaseResp3Command
aclMask
-
Field Details
-
hash
-
response
-
-
Constructor Details
-
NODES
public NODES()
-
-
Method Details
-
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)
-