Class TouchCommand

  • All Implemented Interfaces:
    org.infinispan.commands.remote.CacheRpcCommand, ReplicableCommand, TopologyAffectedCommand

    public class TouchCommand
    extends org.infinispan.commands.remote.BaseRpcCommand
    implements TopologyAffectedCommand
    This command can be invoked to update a cache entry's recent access. This can involve updating its last access with max idle as well as recent eviction access times.

    This command returns a Boolean that is whether this command was able to touch the value or not.