public class

RoundRobinConnectionPoolImpl

extends AbstractHostPartitionConnectionPool<CL>
java.lang.Object
   ↳ com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool<CL>
     ↳ com.netflix.astyanax.connectionpool.impl.RoundRobinConnectionPoolImpl<CL>

Class Overview

Connection pool implementation using simple round robin.

Summary

[Expand]
Inherited Fields
From class com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool
Public Constructors
RoundRobinConnectionPoolImpl(ConnectionPoolConfiguration config, ConnectionFactory<CL> factory, ConnectionPoolMonitor monitor)
Public Methods
<R> ExecuteWithFailover<CL, R> newExecuteWithFailover(Operation<CL, R> operation)
Return a new failover context.
[Expand]
Inherited Methods
From class com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool
From class java.lang.Object
From interface com.netflix.astyanax.connectionpool.ConnectionPool
From interface com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.Listener

Public Constructors

public RoundRobinConnectionPoolImpl (ConnectionPoolConfiguration config, ConnectionFactory<CL> factory, ConnectionPoolMonitor monitor)

Public Methods

public ExecuteWithFailover<CL, R> newExecuteWithFailover (Operation<CL, R> operation)

Return a new failover context. The context captures the connection pool state and implements the necessary failover logic.@return