com.netflix.astyanax.connectionpool.impl
Interface SimpleHostConnectionPool.Listener<CL>

Type Parameters:
CL -
All Known Implementing Classes:
AbstractHostPartitionConnectionPool, BagOfConnectionsConnectionPoolImpl, RoundRobinConnectionPoolImpl, TokenAwareConnectionPoolImpl
Enclosing class:
SimpleHostConnectionPool<CL>

public static interface SimpleHostConnectionPool.Listener<CL>

Interface to notify the owning connection pool of up/down state changes. This give the owning connection pool a chance to remove a downed host from its internal state until it's back up.

Author:
elandau

Method Summary
 void onHostDown(HostConnectionPool<CL> pool)
           
 void onHostUp(HostConnectionPool<CL> pool)
           
 

Method Detail

onHostDown

void onHostDown(HostConnectionPool<CL> pool)

onHostUp

void onHostUp(HostConnectionPool<CL> pool)


Copyright © 2012. All Rights Reserved.