me.prettyprint.cassandra.connection
Class HThriftClient

java.lang.Object
  extended by me.prettyprint.cassandra.connection.HThriftClient

public class HThriftClient
extends Object


Method Summary
 boolean equals(Object obj)
          Compares the toString of these clients
 org.apache.cassandra.thrift.Cassandra.Client getCassandra()
          Returns a new Cassandra.Client on each invocation using the underlying transport
 org.apache.cassandra.thrift.Cassandra.Client getCassandra(String keyspaceNameArg)
           
 long getSinceLastUsed()
           
 void startToUse()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCassandra

public org.apache.cassandra.thrift.Cassandra.Client getCassandra()
Returns a new Cassandra.Client on each invocation using the underlying transport


getCassandra

public org.apache.cassandra.thrift.Cassandra.Client getCassandra(String keyspaceNameArg)

startToUse

public void startToUse()

getSinceLastUsed

public long getSinceLastUsed()
Returns:
Time in MS since it was used.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Compares the toString of these clients

Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.