You can look at
http://github.com/rantav/hector/blob/master/src/main/java/me/prettyprint/cassandra/service/CassandraClientFactory.java
so, to close the client you can just get the transport out of the client
(bold):
private void closeClient(CassandraClient cclient) {
log.debug("Closing clie
C#
On Wed, Jun 9, 2010 at 2:34 PM, Ran Tavory wrote:
> Some languages have higher level clients that might help you. What language
> are you using?
>
> On Jun 9, 2010 9:01 PM, "Steven Haar" wrote:
>
> What is the best way to pass a Cassandra client as a parameter? If you pass
> it as a paramete
Some languages have higher level clients that might help you. What language
are you using?
On Jun 9, 2010 9:01 PM, "Steven Haar" wrote:
What is the best way to pass a Cassandra client as a parameter? If you pass
it as a parameter, do you also have to pass the transport in order to be
able to clo
What is the best way to pass a Cassandra client as a parameter? If you pass
it as a parameter, do you also have to pass the transport in order to be
able to close the connection? Is there any way to open or close the
transport direclty from the client?
Essentailly what I want to do is pass a Cassa