| Package | Description |
|---|---|
| com.thinkaurelius.titan.diskstorage.cassandra.thrift.thriftpool |
| Modifier and Type | Method and Description |
|---|---|
CTConnection |
CTConnectionFactory.makeObject(String key) |
CTConnection |
CTConnectionFactory.makeRawConnection()
Create a Cassandra-Thrift connection, but do not attempt to
set a keyspace on the connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CTConnectionFactory.activateObject(String key,
CTConnection c) |
void |
CTConnectionFactory.destroyObject(String key,
CTConnection c) |
void |
CTConnectionFactory.passivateObject(String key,
CTConnection o) |
void |
CTConnectionPool.returnObjectUnsafe(String keyspace,
CTConnection conn)
If
conn is non-null and is still open, then call
{@link GenericKeyedObjectPool#returnObject(String, CTConnection),
catching and logging and Exception that method might generate. |
boolean |
CTConnectionFactory.validateObject(String key,
CTConnection c) |
| Constructor and Description |
|---|
CTConnectionPool(org.apache.commons.pool.KeyedPoolableObjectFactory<String,CTConnection> factory) |
Copyright © 2012–2016. All rights reserved.