All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commands.TopologyAffectedCommand Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commands;

/**
 * Some of the commands sent over the wire can only be honored by the receiver if the topology of the cluster at
 * delivery time is still 'compatible' with the topology in place at send time (eg. a 'get' command cannot execute
 * on a node that is no longer owner after state transfer took place). These commands need to be tagged with
 * the current topology id of the sender so the receiver can detect and handle topology mismatches.
 *
 * @author [email protected]
 * @since 5.2
 */
public interface TopologyAffectedCommand extends ReplicableCommand {

   int getTopologyId();

   void setTopologyId(int topologyId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy