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

org.infinispan.client.hotrod.impl.transport.tcp.RequestBalancingStrategy Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.client.hotrod.impl.transport.tcp;

import java.net.SocketAddress;
import java.util.Collection;

/**
 * Defines how request are distributed between the servers for replicated caches.
 *
 * @author [email protected]
 * @deprecated Please extend {@link FailoverRequestBalancingStrategy} instead.
 * @since 4.1
 */
@Deprecated
public interface RequestBalancingStrategy {

   void setServers(Collection servers);

   /**
    * @deprecated This method will be removed.
    * {@link org.infinispan.client.hotrod.impl.transport.tcp.FailoverRequestBalancingStrategy#nextServer(java.util.Set)} will replace it.
    */
   @Deprecated
   SocketAddress nextServer();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy