com.netflix.astyanax
Class AstyanaxContext<Entity>

java.lang.Object
  extended by com.netflix.astyanax.AstyanaxContext<Entity>
Type Parameters:
T -

public class AstyanaxContext<Entity>
extends Object

This object tracks the context of an astyanax instance of either a Cluster or Keyspace

Author:
elandau

Nested Class Summary
static class AstyanaxContext.Builder
           
 
Method Summary
 AstyanaxConfiguration getAstyanaxConfiguration()
           
 String getClusterName()
           
 ConnectionPool<?> getConnectionPool()
           
 ConnectionPoolConfiguration getConnectionPoolConfiguration()
           
 ConnectionPoolMonitor getConnectionPoolMonitor()
           
 Entity getEntity()
           
 String getKeyspaceName()
           
 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 ConnectionPool<?> getConnectionPool()

getConnectionPoolConfiguration

public ConnectionPoolConfiguration getConnectionPoolConfiguration()

getAstyanaxConfiguration

public AstyanaxConfiguration getAstyanaxConfiguration()

getNodeDiscovery

public NodeDiscovery getNodeDiscovery()

getConnectionPoolMonitor

public ConnectionPoolMonitor getConnectionPoolMonitor()

start

public void start()

shutdown

public void shutdown()

getClusterName

public String getClusterName()

getKeyspaceName

public String getKeyspaceName()


Copyright © 2012. All Rights Reserved.