org.infinispan.client.hotrod.impl.transport.netty
Class NettyTransportFactory
java.lang.Object
org.infinispan.client.hotrod.impl.transport.netty.NettyTransportFactory
- All Implemented Interfaces:
- TransportFactory
public class NettyTransportFactory
- extends Object
- implements TransportFactory
// TODO: Document this
- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyTransportFactory
public NettyTransportFactory()
start
public void start(Properties props,
Collection<InetSocketAddress> staticConfiguredServers)
- Specified by:
start
in interface TransportFactory
updateServers
public void updateServers(Collection<InetSocketAddress> newServers)
- Specified by:
updateServers
in interface TransportFactory
getTransport
public Transport getTransport()
- Specified by:
getTransport
in interface TransportFactory
destroy
public void destroy()
- Specified by:
destroy
in interface TransportFactory
releaseTransport
public void releaseTransport(Transport transport)
- Specified by:
releaseTransport
in interface TransportFactory
updateHashFunction
public void updateHashFunction(LinkedHashMap<InetSocketAddress,Integer> servers2HashCode,
int numKeyOwners,
short hashFunctionVersion,
int hashSpace)
- Specified by:
updateHashFunction
in interface TransportFactory
getTransport
public Transport getTransport(byte[] key)
- Specified by:
getTransport
in interface TransportFactory
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.