org.infinispan.client.hotrod.impl.transport.tcp
Interface RequestBalancingStrategy

All Known Implementing Classes:
RoundRobinBalancingStrategy

@ThreadSafe
public interface RequestBalancingStrategy

Defines how request are distributed between the servers for replicated caches.

Since:
4.1
Author:
Mircea.Markus@jboss.com

Method Summary
 SocketAddress nextServer()
           
 void setServers(Collection<SocketAddress> servers)
           
 

Method Detail

setServers

void setServers(Collection<SocketAddress> servers)

nextServer

SocketAddress nextServer()

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.