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 ConsistentHashprotected CompletionStage<CharSequence> Fields inherited from class org.infinispan.server.resp.RespCommand
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongaclMask()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, fromString, 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:
aclMaskin interfaceBaseResp3Command
-
perform
public CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
performin interfaceResp3Command
-
requestClusterInformation
protected static CompletionStage<CharSequence> requestClusterInformation(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, EmbeddedCacheManager ecm, CacheTopology topology)
-