com.netflix.astyanax
Class AstyanaxContext<Entity>

java.lang.Object
  extended by 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


Nested Class Summary
static class AstyanaxContext.Builder
           
 
Method Summary
 AstyanaxConfiguration getAstyanaxConfiguration()
           
 java.lang.String getClusterName()
           
 com.netflix.astyanax.connectionpool.ConnectionPool<?> getConnectionPool()
           
 com.netflix.astyanax.connectionpool.ConnectionPoolConfiguration getConnectionPoolConfiguration()
           
 com.netflix.astyanax.connectionpool.ConnectionPoolMonitor getConnectionPoolMonitor()
           
 Entity getEntity()
           
 java.lang.String getKeyspaceName()
           
 com.netflix.astyanax.connectionpool.NodeDiscovery getNodeDiscovery()
           
 void shutdown()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()