Class ClusteredGetAllCommand<K,V>

All Implemented Interfaces:
CacheRpcCommand, ReplicableCommand, TopologyAffectedCommand, TracedCommand, VersionAware

@ProtoTypeId(1058) public class ClusteredGetAllCommand<K,V> extends BaseClusteredReadCommand
Issues a remote getAll call. This is not a VisitableCommand and hence not passed up the interceptor chain.
Author:
Radim Vansa <rvansa@redhat.com>
  • Constructor Details

  • Method Details

    • invokeAsync

      public CompletionStage<?> invokeAsync(ComponentRegistry componentRegistry) throws Throwable
      Description copied from interface: CacheRpcCommand
      Invoke the command asynchronously.
      Throws:
      Throwable
    • supportedSince

      public NodeVersion supportedSince()
      Description copied from interface: ReplicableCommand
      Returns a NodeVersion representing the Infinispan version in which this command was added. This value is used to ensure that when the cluster contains different Infinispan versions, only commands compatible with the oldest version are transmitted.

      Abstract classes should not implement this method as the version should be specific to an individual implementation. Similarly, implementations which extend another ReplicableCommand should always override this method.

      Returns:
      a NodeVersion corresponding to the Infinispan version this command was added.
    • getKeys

      public List<?> getKeys()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class BaseRpcCommand