Uses of Class
me.prettyprint.cassandra.service.CassandraHost

Packages that use CassandraHost
me.prettyprint.cassandra.connection   
me.prettyprint.cassandra.connection.client   
me.prettyprint.cassandra.connection.factory   
me.prettyprint.cassandra.model The model package defines the thrift/avro reflections used by hector to shield the specific types of the objects. 
me.prettyprint.cassandra.service   
me.prettyprint.cassandra.service.template   
me.prettyprint.hector.api The api package defines the main hector api entry points (aka the v2 API) 
 

Uses of CassandraHost in me.prettyprint.cassandra.connection
 

Methods in me.prettyprint.cassandra.connection that return CassandraHost
 CassandraHost HClientPool.getCassandraHost()
           
 CassandraHost ConcurrentHClientPool.getCassandraHost()
           
 

Methods in me.prettyprint.cassandra.connection that return types with arguments of type CassandraHost
 Set<CassandraHost> NodeAutoDiscoverService.discoverNodes()
           
 Set<CassandraHost> HConnectionManager.getDownedHosts()
           
 Set<CassandraHost> CassandraHostRetryService.getDownedHosts()
           
 Set<CassandraHost> HConnectionManager.getHosts()
           
 Set<CassandraHost> HConnectionManager.getSuspendedCassandraHosts()
          Returns a Set of CassandraHost which are in the suspended status
 

Methods in me.prettyprint.cassandra.connection with parameters of type CassandraHost
 void CassandraHostRetryService.add(CassandraHost cassandraHost)
           
 boolean HConnectionManager.addCassandraHost(CassandraHost cassandraHost)
          Returns true if the host was successfully added.
 boolean HostTimeoutTracker.checkTimeout(CassandraHost cassandraHost)
           
 boolean CassandraHostRetryService.contains(CassandraHost cassandraHost)
           
 HClientPool RoundRobinBalancingPolicy.createConnection(HClientFactory clientFactory, CassandraHost host)
           
 HClientPool LoadBalancingPolicy.createConnection(HClientFactory clientFactory, CassandraHost host)
          Creates a connection pool for host.
 HClientPool LeastActiveBalancingPolicy.createConnection(HClientFactory clientFactory, CassandraHost host)
           
 HClientPool DynamicLoadBalancingPolicy.createConnection(HClientFactory clientFactory, CassandraHost host)
           
 void ConnectionManagerListenersHandler.fireOnAddHost(CassandraHost cassandraHost, boolean added, String errorMessage, Exception e)
           
 void ConnectionManagerListenersHandler.fireOnHostDown(CassandraHost cassandraHost)
           
 void ConnectionManagerListenersHandler.fireOnHostRestored(CassandraHost cassandraHost)
           
 void ConnectionManagerListenersHandler.fireOnRemoveHost(CassandraHost cassandraHost, boolean removed, String message)
           
 void ConnectionManagerListenersHandler.fireOnSuspendHost(CassandraHost cassandraHost, boolean removed)
           
 void ConnectionManagerListenersHandler.fireOnUnSuspendHost(CassandraHost cassandraHost, boolean readded)
           
 void ConnectionManagerListener.onAddHost(CassandraHost cassandraHost, boolean added, String errorMessage, Exception e)
          fires when an action to add CassandraHost was triggered
 void ConnectionManagerEmptyListener.onAddHost(CassandraHost cassandraHost, boolean added, String errorMessage, Exception e)
           
 void ConnectionManagerListener.onHostDown(CassandraHost cassandraHost)
          fires when a CassandraHost was detected as down
 void ConnectionManagerEmptyListener.onHostDown(CassandraHost cassandraHost)
           
 void ConnectionManagerListener.onHostRestored(CassandraHost cassandraHost)
          fires when a CassandraHost was restored by the CassandraHostRetryService CassandraHostRetryService must be enabled for this event to fire
 void ConnectionManagerEmptyListener.onHostRestored(CassandraHost cassandraHost)
           
 void ConnectionManagerListener.onRemoveHost(CassandraHost cassandraHost, boolean removed, String message)
          fires when an action to remove CassandraHost was triggered
 void ConnectionManagerEmptyListener.onRemoveHost(CassandraHost cassandraHost, boolean removed, String message)
           
 void ConnectionManagerListener.onSuspendHost(CassandraHost cassandraHost, boolean removed)
          fired when a suspend action was triggered on the host
 void ConnectionManagerEmptyListener.onSuspendHost(CassandraHost cassandraHost, boolean removed)
           
 void ConnectionManagerListener.onUnSuspendHost(CassandraHost cassandraHost, boolean readded)
          fired when an un-suspend action was triggered on the host
 void ConnectionManagerEmptyListener.onUnSuspendHost(CassandraHost cassandraHost, boolean readded)
           
 boolean CassandraHostRetryService.remove(CassandraHost cassandraHost)
           
 boolean HConnectionManager.removeCassandraHost(CassandraHost cassandraHost)
          Remove the CassandraHost from the pool, bypassing retry service.
 boolean HConnectionManager.suspendCassandraHost(CassandraHost cassandraHost)
          Remove the HClientPool referenced by the CassandraHost from the active host pools.
 boolean HConnectionManager.unsuspendCassandraHost(CassandraHost cassandraHost)
          The opposite of suspendCassandraHost, places the pool back into selection
 

Method parameters in me.prettyprint.cassandra.connection with type arguments of type CassandraHost
 HClientPool RoundRobinBalancingPolicy.getPool(Collection<HClientPool> pools, Set<CassandraHost> excludeHosts)
           
 HClientPool LoadBalancingPolicy.getPool(Collection<HClientPool> pools, Set<CassandraHost> excludeHosts)
          Retrieves a pool from the collection of pools excluding excludeHosts.
 HClientPool LeastActiveBalancingPolicy.getPool(Collection<HClientPool> pools, Set<CassandraHost> excludeHosts)
           
 HClientPool DynamicLoadBalancingPolicy.getPool(Collection<HClientPool> pools, Set<CassandraHost> excludeHosts)
           
 

Constructors in me.prettyprint.cassandra.connection with parameters of type CassandraHost
ConcurrentHClientPool(HClientFactory clientFactory, CassandraHost host)
           
LatencyAwareHClientPool(HClientFactory clientFactory, CassandraHost host)
           
 

Uses of CassandraHost in me.prettyprint.cassandra.connection.client
 

Methods in me.prettyprint.cassandra.connection.client that return CassandraHost
 CassandraHost HThriftClient.getCassandraHost()
          Retrieves the CassandraHost associate to this client.
 CassandraHost HClient.getCassandraHost()
          Retrieves the CassandraHost associate to this client.
 

Constructors in me.prettyprint.cassandra.connection.client with parameters of type CassandraHost
HKerberosThriftClient(Subject kerberosTicket, CassandraHost cassandraHost, String servicePrincipalName)
          Constructor
HThriftClient(CassandraHost cassandraHost)
          Constructor
 

Uses of CassandraHost in me.prettyprint.cassandra.connection.factory
 

Methods in me.prettyprint.cassandra.connection.factory with parameters of type CassandraHost
 HClient HThriftClientFactoryImpl.createClient(CassandraHost ch)
          Creates a Hector Client against the host represented by ch
 HClient HKerberosSecuredThriftClientFactoryImpl.createClient(CassandraHost ch)
          Creates a Hector Client against the host represented by ch
 HClient HClientFactory.createClient(CassandraHost ch)
          Creates a Hector Client against the host represented by ch
 

Uses of CassandraHost in me.prettyprint.cassandra.model
 

Methods in me.prettyprint.cassandra.model that return CassandraHost
 CassandraHost ExecutionResult.getHostUsed()
          The cassandra host that was actually used to execute the operation
 

Constructors in me.prettyprint.cassandra.model with parameters of type CassandraHost
ExecutionResult(T value, long execTime, CassandraHost cassandraHost)
           
QueryResultImpl(T value, long execTime, CassandraHost cassandraHost, Query<T> query)
           
 

Uses of CassandraHost in me.prettyprint.cassandra.service
 

Methods in me.prettyprint.cassandra.service that return CassandraHost
 CassandraHost[] CassandraHostConfigurator.buildCassandraHosts()
           
 CassandraHost VirtualKeyspaceOperation.getCassandraHost()
           
 CassandraHost Operation.getCassandraHost()
           
 CassandraHost KeyspaceServiceImpl.getCassandraHost()
           
 CassandraHost KeyspaceService.getCassandraHost()
           
 CassandraHost HColumnFamilyImpl.getHostUsed()
           
 

Methods in me.prettyprint.cassandra.service that return types with arguments of type CassandraHost
 Set<CassandraHost> AbstractCluster.getKnownPoolHosts(boolean refresh)
           
 

Methods in me.prettyprint.cassandra.service with parameters of type CassandraHost
 void AbstractCluster.addHost(CassandraHost cassandraHost, boolean skipApplyConfig)
           
 void CassandraHostConfigurator.applyConfig(CassandraHost cassandraHost)
           
 void VirtualKeyspaceOperation.executeAndSetResult(org.apache.cassandra.thrift.Cassandra.Client cassandra, CassandraHost cassandraHost)
           
 void Operation.executeAndSetResult(org.apache.cassandra.thrift.Cassandra.Client cassandra, CassandraHost cassandraHost)
           
 

Uses of CassandraHost in me.prettyprint.cassandra.service.template
 

Methods in me.prettyprint.cassandra.service.template that return CassandraHost
 CassandraHost AbstractResultWrapper.getHostUsed()
           
 

Uses of CassandraHost in me.prettyprint.hector.api
 

Methods in me.prettyprint.hector.api that return CassandraHost
 CassandraHost ResultStatus.getHostUsed()
          The CassandraHost on which this operation was successful
 

Methods in me.prettyprint.hector.api that return types with arguments of type CassandraHost
 Set<CassandraHost> Cluster.getKnownPoolHosts(boolean refresh)
           
 

Methods in me.prettyprint.hector.api with parameters of type CassandraHost
 void Cluster.addHost(CassandraHost cassandraHost, boolean skipApplyConfig)
          Adds the host to this Cluster.
 



Copyright © 2012. All Rights Reserved.