com.netflix.astyanax.thrift
Class ThriftSyncConnectionFactoryImpl

java.lang.Object
  extended by com.netflix.astyanax.thrift.ThriftSyncConnectionFactoryImpl
All Implemented Interfaces:
ConnectionFactory<org.apache.cassandra.thrift.Cassandra.Client>

public class ThriftSyncConnectionFactoryImpl
extends Object
implements ConnectionFactory<org.apache.cassandra.thrift.Cassandra.Client>


Constructor Summary
ThriftSyncConnectionFactoryImpl(ConnectionPoolConfiguration cpConfig, KeyspaceTracerFactory tracerFactory, ConnectionPoolMonitor monitor)
           
 
Method Summary
 Connection<org.apache.cassandra.thrift.Cassandra.Client> createConnection(HostConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> pool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftSyncConnectionFactoryImpl

public ThriftSyncConnectionFactoryImpl(ConnectionPoolConfiguration cpConfig,
                                       KeyspaceTracerFactory tracerFactory,
                                       ConnectionPoolMonitor monitor)
Method Detail

createConnection

public Connection<org.apache.cassandra.thrift.Cassandra.Client> createConnection(HostConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> pool)
                                                                          throws ThrottledException
Specified by:
createConnection in interface ConnectionFactory<org.apache.cassandra.thrift.Cassandra.Client>
Throws:
ThrottledException


Copyright © 2012. All Rights Reserved.