com.netflix.astyanax.thrift
Class ThriftFamilyFactory

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

public class ThriftFamilyFactory
extends Object
implements AstyanaxTypeFactory<org.apache.cassandra.thrift.Cassandra.Client>


Constructor Summary
ThriftFamilyFactory()
           
 
Method Summary
 Cluster createCluster(ConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> cp, AstyanaxConfiguration asConfig, KeyspaceTracerFactory tracerFactory)
           
 ConnectionFactory<org.apache.cassandra.thrift.Cassandra.Client> createConnectionFactory(ConnectionPoolConfiguration cfConfig, KeyspaceTracerFactory tracerFactory, ConnectionPoolMonitor monitor)
           
 Keyspace createKeyspace(String ksName, ConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> cp, AstyanaxConfiguration asConfig, 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 Keyspace createKeyspace(String ksName,
                               ConnectionPool<org.apache.cassandra.thrift.Cassandra.Client> cp,
                               AstyanaxConfiguration asConfig,
                               KeyspaceTracerFactory tracerFactory)
Specified by:
createKeyspace in interface AstyanaxTypeFactory<org.apache.cassandra.thrift.Cassandra.Client>

createCluster

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

createConnectionFactory

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


Copyright © 2012. All Rights Reserved.