org.infinispan.client.hotrod.impl.transport
Interface TransportFactory

All Known Implementing Classes:
NettyTransportFactory, TcpTransportFactory

public interface TransportFactory

// TODO: Document this

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

Field Summary
static String CONF_HOTROD_SERVERS
           
 
Method Summary
 void destroy()
           
 Transport getTransport()
           
 Transport getTransport(byte[] key)
           
 void releaseTransport(Transport transport)
           
 void start(Properties props, Collection<InetSocketAddress> staticConfiguredServers)
           
 void updateHashFunction(LinkedHashMap<InetSocketAddress,Integer> servers2HashCode, int numKeyOwners, short hashFunctionVersion, int hashSpace)
           
 void updateServers(Collection<InetSocketAddress> newServers)
           
 

Field Detail

CONF_HOTROD_SERVERS

static final String CONF_HOTROD_SERVERS
See Also:
Constant Field Values
Method Detail

getTransport

Transport getTransport()

releaseTransport

void releaseTransport(Transport transport)

start

void start(Properties props,
           Collection<InetSocketAddress> staticConfiguredServers)

updateServers

void updateServers(Collection<InetSocketAddress> newServers)

destroy

void destroy()

updateHashFunction

void updateHashFunction(LinkedHashMap<InetSocketAddress,Integer> servers2HashCode,
                        int numKeyOwners,
                        short hashFunctionVersion,
                        int hashSpace)

getTransport

Transport getTransport(byte[] key)

Google Analytics

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