com.netflix.astyanax.thrift
Class ThriftFamilyFactory
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThriftFamilyFactory
public ThriftFamilyFactory()
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.