com.netflix.astyanax
Class AstyanaxContext<Entity>
java.lang.Object
com.netflix.astyanax.AstyanaxContext<Entity>
- Type Parameters:
T
-
public class AstyanaxContext<Entity>
- extends java.lang.Object
This object tracks the context of an astyanax instance of either a Cluster or
Keyspace
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getEntity
public Entity getEntity()
getConnectionPool
public com.netflix.astyanax.connectionpool.ConnectionPool<?> getConnectionPool()
getConnectionPoolConfiguration
public com.netflix.astyanax.connectionpool.ConnectionPoolConfiguration getConnectionPoolConfiguration()
getAstyanaxConfiguration
public AstyanaxConfiguration getAstyanaxConfiguration()
getNodeDiscovery
public com.netflix.astyanax.connectionpool.NodeDiscovery getNodeDiscovery()
getConnectionPoolMonitor
public com.netflix.astyanax.connectionpool.ConnectionPoolMonitor getConnectionPoolMonitor()
start
public void start()
shutdown
public void shutdown()
getClusterName
public java.lang.String getClusterName()
getKeyspaceName
public java.lang.String getKeyspaceName()