com.netflix.astyanax.thrift
Class ThriftFamilyFactory

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

public class ThriftFamilyFactory
extends java.lang.Object
implements com.netflix.astyanax.AstyanaxTypeFactory<org.apache.cassandra.thrift.Cassandra.Client>


Constructor Summary
ThriftFamilyFactory()
           
 
Method Summary
 com.netflix.astyanax.Cluster createCluster(com.netflix.astyanax.connectionpool.ConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> cp, com.netflix.astyanax.AstyanaxConfiguration asConfig, com.netflix.astyanax.KeyspaceTracerFactory tracerFactory)
           
 com.netflix.astyanax.connectionpool.ConnectionFactory<org.apache.cassandra.thrift.Cassandra.Client> createConnectionFactory(com.netflix.astyanax.AstyanaxConfiguration asConfig, com.netflix.astyanax.connectionpool.ConnectionPoolConfiguration cfConfig, com.netflix.astyanax.KeyspaceTracerFactory tracerFactory, com.netflix.astyanax.connectionpool.ConnectionPoolMonitor monitor)
           
 com.netflix.astyanax.Keyspace createKeyspace(java.lang.String ksName, com.netflix.astyanax.connectionpool.ConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> cp, com.netflix.astyanax.AstyanaxConfiguration asConfig, com.netflix.astyanax.KeyspaceTracerFactory tracerFactory)
           
static ThriftFamilyFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftFamilyFactory

public ThriftFamilyFactory()
Method Detail

getInstance

public static ThriftFamilyFactory getInstance()

createKeyspace

public com.netflix.astyanax.Keyspace createKeyspace(java.lang.String ksName,
                                                    com.netflix.astyanax.connectionpool.ConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> cp,
                                                    com.netflix.astyanax.AstyanaxConfiguration asConfig,
                                                    com.netflix.astyanax.KeyspaceTracerFactory tracerFactory)
Specified by:
createKeyspace in interface com.netflix.astyanax.AstyanaxTypeFactory<org.apache.cassandra.thrift.Cassandra.Client>

createCluster

public com.netflix.astyanax.Cluster createCluster(com.netflix.astyanax.connectionpool.ConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> cp,
                                                  com.netflix.astyanax.AstyanaxConfiguration asConfig,
                                                  com.netflix.astyanax.KeyspaceTracerFactory tracerFactory)
Specified by:
createCluster in interface com.netflix.astyanax.AstyanaxTypeFactory<org.apache.cassandra.thrift.Cassandra.Client>

createConnectionFactory

public com.netflix.astyanax.connectionpool.ConnectionFactory<org.apache.cassandra.thrift.Cassandra.Client> createConnectionFactory(com.netflix.astyanax.AstyanaxConfiguration asConfig,
                                                                                                                                   com.netflix.astyanax.connectionpool.ConnectionPoolConfiguration cfConfig,
                                                                                                                                   com.netflix.astyanax.KeyspaceTracerFactory tracerFactory,
                                                                                                                                   com.netflix.astyanax.connectionpool.ConnectionPoolMonitor monitor)
Specified by:
createConnectionFactory in interface com.netflix.astyanax.AstyanaxTypeFactory<org.apache.cassandra.thrift.Cassandra.Client>