me.prettyprint.cassandra.connection.factory
Class HThriftClientFactoryImpl

java.lang.Object
  extended by me.prettyprint.cassandra.connection.factory.HThriftClientFactoryImpl
All Implemented Interfaces:
HClientFactory

public class HThriftClientFactoryImpl
extends Object
implements HClientFactory

Author:
patricioe (Patricio Echague - patricio@datastax.com)

Constructor Summary
HThriftClientFactoryImpl()
           
 
Method Summary
 HClient createClient(CassandraHost ch)
          Creates a Hector Client against the host represented by ch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HThriftClientFactoryImpl

public HThriftClientFactoryImpl()
Method Detail

createClient

public HClient createClient(CassandraHost ch)
Creates a Hector Client against the host represented by ch

Specified by:
createClient in interface HClientFactory
Parameters:
ch - a CassandraHost
Returns:
a new HClient


Copyright © 2012. All Rights Reserved.