com.netflix.astyanax.test
Class TestConnectionFactory

java.lang.Object
  extended by com.netflix.astyanax.test.TestConnectionFactory
All Implemented Interfaces:
ConnectionFactory<TestClient>

public class TestConnectionFactory
extends java.lang.Object
implements ConnectionFactory<TestClient>


Constructor Summary
TestConnectionFactory(ConnectionPoolConfiguration config, ConnectionPoolMonitor monitor)
           
 
Method Summary
 Connection<TestClient> createConnection(HostConnectionPool<TestClient> pool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConnectionFactory

public TestConnectionFactory(ConnectionPoolConfiguration config,
                             ConnectionPoolMonitor monitor)
Method Detail

createConnection

public Connection<TestClient> createConnection(HostConnectionPool<TestClient> pool)
                                        throws ThrottledException
Specified by:
createConnection in interface ConnectionFactory<TestClient>
Throws:
ThrottledException