A B C D E F G H I J K L M N O P R S T U V

A

abandon(PooledConnection) - Method in class net.dataforte.cassandra.pool.ConnectionPool
thread safe way to abandon a connection signals a connection to be abandoned. this will disconnect the connection, and log the stack trace if logAbanded=true
abandonWhenPercentageFull - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
accessToUnderlyingConnectionAllowed - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
add(E) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
addAll(Collection<? extends E>) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
addListener(NotificationListener) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
automaticHostDiscovery - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

B

borrowConnection(long, PooledConnection) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Validates and configures a previously idle connection

C

cancel(boolean) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
canceled - Variable in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
CassandraHost - Class in net.dataforte.cassandra.pool
Represents a connection to a Cassandra host
CassandraHost(String) - Constructor for class net.dataforte.cassandra.pool.CassandraHost
 
CassandraRing - Class in net.dataforte.cassandra.pool
Represents the Cassandra ring (all of the hosts in the cluster)
CassandraRing(String[]) - Constructor for class net.dataforte.cassandra.pool.CassandraRing
 
CassandraRing(String[], HostCyclePolicy) - Constructor for class net.dataforte.cassandra.pool.CassandraRing
 
CassandraThriftDataSource - Interface in net.dataforte.cassandra.thrift
 
checkAbandoned() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Iterates through all the busy connections and checks for connections that have timed out
checkAbandoned() - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
checkIdle() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Iterates through the idle connections and resizes the idle pool based on parameters PoolProperties.maxIdle, PoolProperties.minIdle , PoolProperties.minEvictableIdleTimeMillis
checkIdle() - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
clear() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
close() - Method in class net.dataforte.cassandra.pool.ConnectionPool
 
close(boolean) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Closes the pool and all disconnects all idle connections Active connections will be closed upon the close method is called on the underlying connection instead of being returned to the pool
close() - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
close(boolean) - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
configuredHosts - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
connect() - Method in class net.dataforte.cassandra.pool.PooledConnection
 
ConnectionPool - Class in net.dataforte.cassandra.pool
An implementation of a connection pool for Cassandra Thrift connections.
ConnectionPool(PoolConfiguration) - Constructor for class net.dataforte.cassandra.pool.ConnectionPool
Instantiate a connection pool.
ConnectionPool.PoolMaintenance - Class in net.dataforte.cassandra.pool
 
ConnectionPoolMBean - Class in net.dataforte.cassandra.pool.jmx
 
ConnectionPoolMBean(ConnectionPool) - Constructor for class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
contains(Object) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
containsAll(Collection<?>) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
counter - Static variable in class net.dataforte.cassandra.pool.PooledConnection
Instance counter
create() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Create a new pooled connection object.
createConnection(long, PooledConnection) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Creates a Cassandra connection and tries to connect to the database.
createDataSource(Map<String, String>) - Method in class net.dataforte.cassandra.pool.DataSourceFactory
Creates and configures a DataSource instance based on the given properties.
createDataSource(Map<String, String>, Context) - Method in class net.dataforte.cassandra.pool.DataSourceFactory
 
createMBean() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Create MBean object that can be registered.
createObjectName(ObjectName) - Method in class net.dataforte.cassandra.pool.DataSource
Creates the ObjectName for the ConnectionPoolMBean object to be registered
createPool() - Method in class net.dataforte.cassandra.pool.DataSourceProxy
Sets up the connection pool, by creating a pooling driver.

D

DataSource - Class in net.dataforte.cassandra.pool
A DataSource that can be instantiated through IoC and implements the CassandraThriftDataSource interface since the DataSourceProxy is used as a generic proxy.
DataSource() - Constructor for class net.dataforte.cassandra.pool.DataSource
Constructor for reflection only.
DataSource(PoolConfiguration) - Constructor for class net.dataforte.cassandra.pool.DataSource
Constructs a DataSource object wrapping a connection
DataSourceFactory - Class in net.dataforte.cassandra.pool
 
DataSourceFactory() - Constructor for class net.dataforte.cassandra.pool.DataSourceFactory
 
DataSourceProxy - Class in net.dataforte.cassandra.pool
The DataSource proxy lets us implements methods that don't exist in the current CassandraThriftDataSource interface but might be methods that are part of a future CassandraThriftDataSource interface.
DataSourceProxy(PoolConfiguration) - Constructor for class net.dataforte.cassandra.pool.DataSourceProxy
 
disconnectEvent(PooledConnection, boolean) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Hook to perform final actions on a pooled connection object once it has been disconnected and will be discarded
drainTo(Collection<? super E>, int) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
drainTo(Collection<? super E>) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue

E

element() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
equals(Object) - Method in class net.dataforte.cassandra.pool.CassandraHost
 
equals(Object) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 

F

failoverPolicy - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
FairBlockingQueue<E> - Class in net.dataforte.cassandra.pool
A simple implementation of a blocking queue with fairness waiting.
FairBlockingQueue() - Constructor for class net.dataforte.cassandra.pool.FairBlockingQueue
Creates a new fair blocking queue.
FairBlockingQueue.ExchangeCountDownLatch<T> - Class in net.dataforte.cassandra.pool
 
FairBlockingQueue.ExchangeCountDownLatch(int) - Constructor for class net.dataforte.cassandra.pool.FairBlockingQueue.ExchangeCountDownLatch
 
FairBlockingQueue.FairIterator - Class in net.dataforte.cassandra.pool
 
FairBlockingQueue.FairIterator() - Constructor for class net.dataforte.cassandra.pool.FairBlockingQueue.FairIterator
 
FairBlockingQueue.ItemFuture<T> - Class in net.dataforte.cassandra.pool
 
FairBlockingQueue.ItemFuture(T) - Constructor for class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
FairBlockingQueue.ItemFuture(FairBlockingQueue<E>.ExchangeCountDownLatch<T>) - Constructor for class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
fairQueue - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
finalize(PooledConnection) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Hook to perform final actions on a pooled connection object once it has been disconnected and will be discarded
framed - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

G

get(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
get() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
get(long, TimeUnit) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
get(int) - Method in class net.dataforte.cassandra.pool.OffsetArrayList
 
get(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Provides a generic getter for any of the declared properties of the PoolConfiguration
get(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getAbandonTimeout() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns abandon timeout in milliseconds
getAbandonWhenPercentageFull() - Method in class net.dataforte.cassandra.pool.DataSource
 
getAbandonWhenPercentageFull() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Connections that have been abandoned (timed out) wont get closed and reported up unless the number of connections in use are above the percentage defined by abandonWhenPercentageFull.
getAbandonWhenPercentageFull() - Method in class net.dataforte.cassandra.pool.PoolProperties
Connections that have been abandoned (timed out) wont get closed and reported up unless the number of connections in use are above the percentage defined by abandonWhenPercentageFull.
getActive() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Returns the number of connections that are in use
getAttribute(String) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
getAttributes(String[]) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
getAttributes() - Method in class net.dataforte.cassandra.pool.PooledConnection
 
getCassandraRing() - Method in class net.dataforte.cassandra.pool.ConnectionPool
 
getConfiguredHosts() - Method in class net.dataforte.cassandra.pool.DataSource
 
getConfiguredHosts() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns an array of configured hosts (may be different from the actual list if dynamic discovery is enabled)
getConfiguredHosts() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getConnection() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Borrows a connection from the pool.
getConnection() - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
getConnection() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns the underlying connection
getConnection() - Method in interface net.dataforte.cassandra.thrift.CassandraThriftDataSource
 
getDataSource() - Method in class net.dataforte.cassandra.pool.DataSource
 
getDataSource() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns a datasource, if one exists that is being used to create connections.
getDataSource() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getDataSourceJNDI() - Method in class net.dataforte.cassandra.pool.DataSource
 
getDataSourceJNDI() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the JNDI string configured for data source usage.
getDataSourceJNDI() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getDefaultNotificationInfo() - Static method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
getFailoverPolicy() - Method in class net.dataforte.cassandra.pool.DataSource
 
getFailoverPolicy() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the failover policy.
getFailoverPolicy() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getHost() - Method in class net.dataforte.cassandra.pool.CassandraHost
 
getHost() - Method in class net.dataforte.cassandra.pool.DataSource
 
getHost() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the Cassandra hosts
getHost() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getHostRetryInterval() - Method in class net.dataforte.cassandra.pool.DataSource
 
getHostRetryInterval() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the interval in milliseconds before retrying a host to which a connection has failed in the past.
getHostRetryInterval() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getHosts() - Method in class net.dataforte.cassandra.pool.CassandraRing
 
getIdle() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Returns the number of idle connections
getInitialSize() - Method in class net.dataforte.cassandra.pool.DataSource
 
getInitialSize() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the number of connections that will be established when the connection pool is started.
getInitialSize() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns the number of connections that will be established when the connection pool is started.
getItem() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.ExchangeCountDownLatch
 
getJmxPool() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Return the object that is potentially registered in JMX for notifications
getKeySpace() - Method in class net.dataforte.cassandra.pool.DataSource
 
getKeySpace() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the keyspace
getKeySpace() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns the keyspace
getLastConnected() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns the timestamp of when the connection was last connected to the database
getLastUsed() - Method in class net.dataforte.cassandra.pool.CassandraHost
 
getLastValidated() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns the timestamp of the last successful validation query execution.
getMaxActive() - Method in class net.dataforte.cassandra.pool.DataSource
 
getMaxActive() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The maximum number of active connections that can be allocated from this pool at the same time.
getMaxActive() - Method in class net.dataforte.cassandra.pool.PoolProperties
The maximum number of active connections that can be allocated from this pool at the same time.
getMaxAge() - Method in class net.dataforte.cassandra.pool.DataSource
 
getMaxAge() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Time in milliseconds to keep this connection alive even when used.
getMaxAge() - Method in class net.dataforte.cassandra.pool.PoolProperties
Time in milliseconds to keep this connection alive even when used.
getMaxIdle() - Method in class net.dataforte.cassandra.pool.DataSource
 
getMaxIdle() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The maximum number of connections that should be kept in the idle pool if PoolConfiguration.isPoolSweeperEnabled() returns false.
getMaxIdle() - Method in class net.dataforte.cassandra.pool.PoolProperties
The maximum number of connections that should be kept in the idle pool if PoolConfiguration.isPoolSweeperEnabled() returns false.
getMaxWait() - Method in class net.dataforte.cassandra.pool.DataSource
 
getMaxWait() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The maximum number of milliseconds that the pool will wait (when there are no available connections and the PoolConfiguration.getMaxActive() has been reached) for a connection to be returned before throwing an exception.
getMaxWait() - Method in class net.dataforte.cassandra.pool.PoolProperties
The maximum number of milliseconds that the pool will wait (when there are no available connections and the PoolConfiguration.getMaxActive() has been reached) for a connection to be returned before throwing an exception.
getMBeanInfo() - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
getMinEvictableIdleTimeMillis() - Method in class net.dataforte.cassandra.pool.DataSource
 
getMinEvictableIdleTimeMillis() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The minimum amount of time an object must sit idle in the pool before it is eligible for eviction.
getMinEvictableIdleTimeMillis() - Method in class net.dataforte.cassandra.pool.PoolProperties
The minimum amount of time an object must sit idle in the pool before it is eligible for eviction.
getMinIdle() - Method in class net.dataforte.cassandra.pool.DataSource
 
getMinIdle() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The minimum number of established connections that should be kept in the pool at all times.
getMinIdle() - Method in class net.dataforte.cassandra.pool.PoolProperties
The minimum number of established connections that should be kept in the pool at all times.
getName() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Returns the name of this pool
getName() - Method in class net.dataforte.cassandra.pool.DataSource
 
getName() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the name of the connection pool.
getName() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns the name of the connection pool.
getName() - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getNotificationInfo() - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
getNumTestsPerEvictionRun() - Method in class net.dataforte.cassandra.pool.DataSource
 
getNumTestsPerEvictionRun() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Property not used
getNumTestsPerEvictionRun() - Method in class net.dataforte.cassandra.pool.PoolProperties
Property not used
getObjectInstance(Object, Name, Context, Hashtable<?, ?>) - Method in class net.dataforte.cassandra.pool.DataSourceFactory
 
getPassword() - Method in class net.dataforte.cassandra.pool.DataSource
 
getPassword() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the password used when establishing connections to the database.
getPassword() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns the password used when establishing connections to the database.
getPool() - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
getPool() - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
getPoolCounter() - Static method in class net.dataforte.cassandra.pool.PoolProperties
 
getPoolName() - Method in class net.dataforte.cassandra.pool.DataSource
 
getPoolName() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
 
getPoolName() - Method in class net.dataforte.cassandra.pool.PoolProperties
getPoolProperties() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Returns the pool properties associated with this connection pool
getPoolProperties() - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
getPoolProperties() - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
getPoolProperties() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns the configuration for this connection and pool
getPoolSize() - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
getPort() - Method in class net.dataforte.cassandra.pool.DataSource
 
getPort() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the Cassandra port (defaults to 9160)
getPort() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getProperties(String) - Static method in class net.dataforte.cassandra.pool.DataSourceFactory
Parse properties from the string.
getProperties(String, Map<String, String>) - Static method in class net.dataforte.cassandra.pool.PoolProperties
 
getPropertyNames() - Static method in class net.dataforte.cassandra.pool.PoolProperties
 
getReleaseTime() - Method in class net.dataforte.cassandra.pool.PooledConnection
The time limit for how long the object can remain unused before it is released
getRemoveAbandonedTimeout() - Method in class net.dataforte.cassandra.pool.DataSource
 
getRemoveAbandonedTimeout() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The time in seconds before a connection can be considered abandoned.
getRemoveAbandonedTimeout() - Method in class net.dataforte.cassandra.pool.PoolProperties
The time in seconds before a connection can be considered abandoned.
getSize() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Returns the total size of this pool, this includes both busy and idle connections
getSocketTimeout() - Method in class net.dataforte.cassandra.pool.DataSource
 
getSocketTimeout() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the socket timeout in milliseconds
getSocketTimeout() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getStackTrace(Throwable) - Static method in class net.dataforte.cassandra.pool.ConnectionPool
Convert an exception into a String
getStackTrace() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns the stack trace from when this connection was borrowed.
getSuspectTimeout() - Method in class net.dataforte.cassandra.pool.DataSource
 
getSuspectTimeout() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the time in seconds to pass before a connection is marked an abanoned suspect.
getSuspectTimeout() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns the time in seconds to pass before a connection is marked an abanoned suspect.
getThreadDump() - Static method in class net.dataforte.cassandra.pool.ConnectionPool
Creates a stack trace representing the existing thread's current state.
getTimeBetweenEvictionRunsMillis() - Method in class net.dataforte.cassandra.pool.DataSource
 
getTimeBetweenEvictionRunsMillis() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The number of milliseconds to sleep between runs of the idle connection validation, abandoned cleaner and idle pool resizing.
getTimeBetweenEvictionRunsMillis() - Method in class net.dataforte.cassandra.pool.PoolProperties
The number of milliseconds to sleep between runs of the idle connection validation, abandoned cleaner and idle pool resizing.
getTimestamp() - Method in class net.dataforte.cassandra.pool.PooledConnection
Return the timestamps of last pool action.
getTransport() - Method in class net.dataforte.cassandra.pool.PooledConnection
 
getUrl() - Method in class net.dataforte.cassandra.pool.DataSource
 
getUrl() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the Cassandra connection URL
getUrl() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
getUseLock() - Method in class net.dataforte.cassandra.pool.DataSource
 
getUseLock() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Return true if a lock should be used when operations are performed on the connection object.
getUseLock() - Method in class net.dataforte.cassandra.pool.PoolProperties
Return true if a lock should be used when operations are performed on the connection object.
getUsername() - Method in class net.dataforte.cassandra.pool.DataSource
 
getUsername() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns the username used to establish the connection with
getUsername() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns the username used to establish the connection with
getValidationInterval() - Method in class net.dataforte.cassandra.pool.DataSource
 
getValidationInterval() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
avoid excess validation, only run validation at most at this frequency - time in milliseconds.
getValidationInterval() - Method in class net.dataforte.cassandra.pool.PoolProperties
avoid excess validation, only run validation at most at this frequency - time in milliseconds.
getValue() - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAsBoolean(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAsByte(byte) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAschar(char) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAsDouble(double) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAsFloat(float) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAsInt(int) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAsLong(long) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getValueAsShort(short) - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
getWaitCount() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Return the number of threads waiting for a connection

H

hashCode() - Method in class net.dataforte.cassandra.pool.CassandraHost
 
hashCode() - Method in class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
hasNext() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.FairIterator
 
host - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
HostCyclePolicy - Enum in net.dataforte.cassandra.pool
 
HostFailoverPolicy - Enum in net.dataforte.cassandra.pool
This enum was taken from Hector
hostRetryInterval - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

I

init(PoolConfiguration) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Initialize the connection pool - called from the constructor
initialSize - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
invoke(String, Object[], String[]) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
isAutomaticHostDiscovery() - Method in class net.dataforte.cassandra.pool.DataSource
 
isAutomaticHostDiscovery() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns whether automatic host discovery is being used
isAutomaticHostDiscovery() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
isCancelled() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
isClosed() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Returns true if close has been called, and the connection pool is unusable
isDiscarded() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns the discarded flag.
isDone() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
isEmpty() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
isFairQueue() - Method in class net.dataforte.cassandra.pool.DataSource
 
isFairQueue() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns true if a fair queue is being used by the connection pool
isFairQueue() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns true if a fair queue is being used by the connection pool
isFramed() - Method in class net.dataforte.cassandra.pool.DataSource
 
isFramed() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns whether framed connection mode is being used
isFramed() - Method in class net.dataforte.cassandra.pool.PoolProperties
 
isGood() - Method in class net.dataforte.cassandra.pool.CassandraHost
 
isInitialized() - Method in class net.dataforte.cassandra.pool.PooledConnection
 
isJmxEnabled() - Method in class net.dataforte.cassandra.pool.DataSource
 
isJmxEnabled() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
If set to true, the connection pool creates a ConnectionPoolMBean object that can be registered with JMX to receive notifications and state about the pool.
isJmxEnabled() - Method in class net.dataforte.cassandra.pool.PoolProperties
If set to true, the connection pool creates a ConnectionPoolMBean object that can be registered with JMX to receive notifications and state about the pool.
isLogAbandoned() - Method in class net.dataforte.cassandra.pool.DataSource
 
isLogAbandoned() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
boolean flag to set if stack traces should be logged for application code which abandoned a Connection.
isLogAbandoned() - Method in class net.dataforte.cassandra.pool.PoolProperties
boolean flag to set if stack traces should be logged for application code which abandoned a Connection.
isPoolSweeperEnabled() - Method in class net.dataforte.cassandra.pool.DataSource
 
isPoolSweeperEnabled() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns true if the pool sweeper is enabled for the connection pool.
isPoolSweeperEnabled() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns true if the pool sweeper is enabled for the connection pool.
isReleased() - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns true if this connection has been released and wont be reused.
isRemoveAbandoned() - Method in class net.dataforte.cassandra.pool.DataSource
 
isRemoveAbandoned() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
boolean flag to remove abandoned connections if they exceed the removeAbandonedTimout.
isRemoveAbandoned() - Method in class net.dataforte.cassandra.pool.PoolProperties
boolean flag to remove abandoned connections if they exceed the removeAbandonedTimout.
isSuspect() - Method in class net.dataforte.cassandra.pool.PooledConnection
 
isTestOnBorrow() - Method in class net.dataforte.cassandra.pool.DataSource
 
isTestOnBorrow() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The indication of whether objects will be validated before being borrowed from the pool.
isTestOnBorrow() - Method in class net.dataforte.cassandra.pool.PoolProperties
The indication of whether objects will be validated before being borrowed from the pool.
isTestOnConnect() - Method in class net.dataforte.cassandra.pool.DataSource
 
isTestOnConnect() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Returns true if we should run the validation query when connecting to the database for the first time on a connection.
isTestOnConnect() - Method in class net.dataforte.cassandra.pool.PoolProperties
Returns true if we should run the validation query when connecting to the database for the first time on a connection.
isTestOnReturn() - Method in class net.dataforte.cassandra.pool.DataSource
 
isTestOnReturn() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The indication of whether objects will be validated after being returned to the pool.
isTestOnReturn() - Method in class net.dataforte.cassandra.pool.PoolProperties
The indication of whether objects will be validated after being returned to the pool.
isTestWhileIdle() - Method in class net.dataforte.cassandra.pool.DataSource
 
isTestWhileIdle() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set to true if query validation should take place while the connection is idle.
isTestWhileIdle() - Method in class net.dataforte.cassandra.pool.PoolProperties
Set to true if query validation should take place while the connection is idle.
isUseEquals() - Method in class net.dataforte.cassandra.pool.DataSource
 
isUseEquals() - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set to true if you wish the ProxyConnection class to use String.equals instead of == when comparing method names.
isUseEquals() - Method in class net.dataforte.cassandra.pool.PoolProperties
Set to true if you wish the ProxyConnection class to use String.equals instead of == when comparing method names.
item - Variable in class net.dataforte.cassandra.pool.FairBlockingQueue.ExchangeCountDownLatch
 
item - Variable in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
iterator() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue

J

jmxEnabled - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
jmxPool - Variable in class net.dataforte.cassandra.pool.ConnectionPool
reference to the JMX mbean

K

keySpace - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

L

latch - Variable in class net.dataforte.cassandra.pool.FairBlockingQueue.ItemFuture
 
listeners - Variable in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
Listeners that are local and interested in our notifications, no need for JMX
lock() - Method in class net.dataforte.cassandra.pool.PooledConnection
Locks the connection only if either PoolConfiguration.isPoolSweeperEnabled() or PoolConfiguration.getUseLock() return true.
logAbandoned - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

M

maxActive - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
maxAge - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
maxIdle - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
maxWait - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
minEvictableIdleTimeMillis - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
minIdle - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

N

name - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
net.dataforte.cassandra.pool - package net.dataforte.cassandra.pool
 
net.dataforte.cassandra.pool.jmx - package net.dataforte.cassandra.pool.jmx
 
net.dataforte.cassandra.thrift - package net.dataforte.cassandra.thrift
 
next() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.FairIterator
 
notify(String, String) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
Return true if the notification was sent successfully, false otherwise.
NOTIFY_ABANDON - Static variable in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
NOTIFY_CONNECT - Static variable in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
NOTIFY_INIT - Static variable in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
numRetries - Variable in enum net.dataforte.cassandra.pool.HostFailoverPolicy
 
numTestsPerEvictionRun - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

O

OBJECT_NAME - Static variable in class net.dataforte.cassandra.pool.DataSourceFactory
 
offer(E) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
Will always return true, queue is unbounded.
offer(E, long, TimeUnit) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
Will never timeout, as it invokes the FairBlockingQueue.offer(Object) method.
OffsetArrayList<E> - Class in net.dataforte.cassandra.pool
 
OffsetArrayList(Collection<? extends E>, int) - Constructor for class net.dataforte.cassandra.pool.OffsetArrayList
 
oname - Variable in class net.dataforte.cassandra.pool.DataSource
 

P

parent - Variable in class net.dataforte.cassandra.pool.PooledConnection
The parent
parsePoolProperties(Map<String, String>) - Static method in class net.dataforte.cassandra.pool.DataSourceFactory
 
password - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
peek() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
performJNDILookup(Context, PoolConfiguration) - Method in class net.dataforte.cassandra.pool.DataSourceFactory
 
poll(long, TimeUnit) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
Fair retrieval of an object in the queue.
poll() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
pollAsync() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
Request an item from the queue asynchronously
pool - Variable in class net.dataforte.cassandra.pool.ConnectionPool.PoolMaintenance
 
pool - Variable in class net.dataforte.cassandra.pool.DataSourceProxy
 
pool - Variable in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
the connection pool
POOL_JMX_PREFIX - Static variable in class net.dataforte.cassandra.pool.ConnectionPool
Prefix type for JMX registration
POOL_JMX_TYPE_PREFIX - Static variable in class net.dataforte.cassandra.pool.ConnectionPool
 
PoolConfiguration - Interface in net.dataforte.cassandra.pool
A list of properties that are configurable for a connection pool.
poolCounter - Static variable in class net.dataforte.cassandra.pool.PoolProperties
 
PooledConnection - Class in net.dataforte.cassandra.pool
Represents a pooled connection and holds a reference to the Cassandra.Client and TTransport object Derived from org.apache.tomcat.jdbc.pool.PooledConnection by fhanik
PooledConnection(PoolConfiguration, ConnectionPool) - Constructor for class net.dataforte.cassandra.pool.PooledConnection
Constructor
poolProperties - Variable in class net.dataforte.cassandra.pool.DataSourceProxy
 
poolProperties - Variable in class net.dataforte.cassandra.pool.PooledConnection
The properties for the connection pool
PoolProperties - Class in net.dataforte.cassandra.pool
 
PoolProperties() - Constructor for class net.dataforte.cassandra.pool.PoolProperties
 
PoolProperties.InterceptorProperty - Class in net.dataforte.cassandra.pool
 
PoolProperties.InterceptorProperty(String, String) - Constructor for class net.dataforte.cassandra.pool.PoolProperties.InterceptorProperty
 
port - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
postDeregister() - Method in class net.dataforte.cassandra.pool.DataSource
Unregisters the underlying connection pool mbean.
postRegister(Boolean) - Method in class net.dataforte.cassandra.pool.DataSource
no-op
preDeregister() - Method in class net.dataforte.cassandra.pool.DataSource
no-op
preRegister(MBeanServer, ObjectName) - Method in class net.dataforte.cassandra.pool.DataSource
If the connection pool MBean exists, it will be registered during this operation.
put(E) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue

R

reconnect() - Method in class net.dataforte.cassandra.pool.PooledConnection
Issues a call to PooledConnection.disconnect(boolean) with the argument false followed by a call to PooledConnection.connect()
refresh(Cassandra.Iface) - Method in class net.dataforte.cassandra.pool.CassandraRing
 
refreshRing() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Refreshes the ring information
registerJmx() - Method in class net.dataforte.cassandra.pool.DataSource
Registers the ConnectionPoolMBean under a unique name based on the ObjectName for the DataSource
release(PooledConnection) - Method in class net.dataforte.cassandra.pool.ConnectionPool
thread safe way to release a connection
release(Cassandra.Client) - Method in class net.dataforte.cassandra.pool.ConnectionPool
 
release() - Method in class net.dataforte.cassandra.pool.PooledConnection
This method is called if (Now - timeCheckedIn > getReleaseTime()) This method disconnects the connection, logs an error in debug mode if it happens then sets the PooledConnection.released flag to false.
releaseConnection(Cassandra.Client) - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
releaseConnection(Cassandra.Client) - Method in interface net.dataforte.cassandra.thrift.CassandraThriftDataSource
 
remainingCapacity() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
remove() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.FairIterator
 
remove(Object) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
remove() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
removeAbandoned - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
removeAbandonedTimeout - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
removeAll(Collection<?>) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
removeListener(NotificationListener) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
retainAll(Collection<?>) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
returnConnection(PooledConnection) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Returns a connection to the pool If the pool is closed, the connection will be released If the connection is not part of the busy queue, it will be released.
run - Variable in class net.dataforte.cassandra.pool.ConnectionPool.PoolMaintenance
 
run() - Method in class net.dataforte.cassandra.pool.ConnectionPool.PoolMaintenance
 

S

sequence - Variable in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
sequence for JMX notifications
set(String, Object) - Method in class net.dataforte.cassandra.pool.DataSource
Properties
set(String, Object) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Provides a generic setter for any of the declared properties of the PoolConfiguration
set(String, Object) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setAbandonWhenPercentageFull(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setAbandonWhenPercentageFull(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Connections that have been abandoned (timed out) wont get closed and reported up unless the number of connections in use are above the percentage defined by abandonWhenPercentageFull.
setAbandonWhenPercentageFull(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
Connections that have been abandoned (timed out) wont get closed and reported up unless the number of connections in use are above the percentage defined by abandonWhenPercentageFull.
setAttribute(Attribute) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
setAttributes(AttributeList) - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
setAutomaticHostDiscovery(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setAutomaticHostDiscovery(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets whether Cassandra hosts should be queried to automatically obtain a list of other hosts
setAutomaticHostDiscovery(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setDataSource(Object) - Method in class net.dataforte.cassandra.pool.DataSource
 
setDataSource(Object) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Injects a datasource that will be used to retrieve/create connections.
setDataSource(Object) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setDataSourceJNDI(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
setDataSourceJNDI(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Configure the connection pool to use a DataSource according to PoolConfiguration.setDataSource(Object) But instead of injecting the object, specify the JNDI location.
setDataSourceJNDI(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setDiscarded(boolean) - Method in class net.dataforte.cassandra.pool.PooledConnection
An interceptor can call this method with the value true, and the connection will be closed when it is returned to the pool.
setFailoverPolicy(HostFailoverPolicy) - Method in class net.dataforte.cassandra.pool.DataSource
 
setFailoverPolicy(HostFailoverPolicy) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the host failover policy, i.e. what to do when connecting to a host fails
setFailoverPolicy(HostFailoverPolicy) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setFairQueue(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setFairQueue(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set to true if you wish that calls to getConnection should be treated fairly in a true FIFO fashion.
setFairQueue(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
Set to true if you wish that calls to getConnection should be treated fairly in a true FIFO fashion.
setFramed(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setFramed(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets whether to use framed connection mode (default false)
setFramed(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setGood(boolean) - Method in class net.dataforte.cassandra.pool.CassandraHost
 
setHost(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
setHost(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the Cassandra host.
setHost(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setHostRetryInterval(long) - Method in class net.dataforte.cassandra.pool.DataSource
 
setHostRetryInterval(long) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the interval in milliseconds before retrying a host to which a connection has failed in the past.
setHostRetryInterval(long) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setInitialSize(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setInitialSize(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set the number of connections that will be established when the connection pool is started.
setInitialSize(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
Set the number of connections that will be established when the connection pool is started.
setItem(T) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue.ExchangeCountDownLatch
 
setJmxEnabled(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setJmxEnabled(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
If set to true, the connection pool creates a ConnectionPoolMBean object that can be registered with JMX to receive notifications and state about the pool.
setJmxEnabled(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
If set to true, the connection pool creates a ConnectionPoolMBean object that can be registered with JMX to receive notifications and state about the pool.
setKeySpace(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
setKeySpace(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the keyspace
setKeySpace(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
Sets the keyspace
setLastValidated(long) - Method in class net.dataforte.cassandra.pool.PooledConnection
Set the timestamp the connection was last validated.
setLogAbandoned(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setLogAbandoned(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
boolean flag to set if stack traces should be logged for application code which abandoned a Connection.
setLogAbandoned(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
boolean flag to set if stack traces should be logged for application code which abandoned a Connection.
setMaxActive(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setMaxActive(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The maximum number of active connections that can be allocated from this pool at the same time.
setMaxActive(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
The maximum number of active connections that can be allocated from this pool at the same time.
setMaxAge(long) - Method in class net.dataforte.cassandra.pool.DataSource
 
setMaxAge(long) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Time in milliseconds to keep this connection alive even when used.
setMaxAge(long) - Method in class net.dataforte.cassandra.pool.PoolProperties
Time in milliseconds to keep this connection alive even when used.
setMaxIdle(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setMaxIdle(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The maximum number of connections that should be kept in the idle pool if PoolConfiguration.isPoolSweeperEnabled() returns false.
setMaxIdle(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
The maximum number of connections that should be kept in the idle pool if PoolConfiguration.isPoolSweeperEnabled() returns false.
setMaxWait(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setMaxWait(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The maximum number of milliseconds that the pool will wait (when there are no available connections and the PoolConfiguration.getMaxActive() has been reached) for a connection to be returned before throwing an exception.
setMaxWait(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
The maximum number of milliseconds that the pool will wait (when there are no available connections and the PoolConfiguration.getMaxActive() has been reached) for a connection to be returned before throwing an exception.
setMinEvictableIdleTimeMillis(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setMinEvictableIdleTimeMillis(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The minimum amount of time an object must sit idle in the pool before it is eligible for eviction.
setMinEvictableIdleTimeMillis(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
The minimum amount of time an object must sit idle in the pool before it is eligible for eviction.
setMinIdle(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setMinIdle(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The minimum number of established connections that should be kept in the pool at all times.
setMinIdle(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
The minimum number of established connections that should be kept in the pool at all times.
setName(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
setName(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the name of the connection pool
setName(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
Sets the name of the connection pool
setNumTestsPerEvictionRun(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setNumTestsPerEvictionRun(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Property not used
setNumTestsPerEvictionRun(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
Property not used
setPassword(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
setPassword(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the password to establish the connection with.
setPassword(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
Sets the password to establish the connection with.
setPoolProperties(PoolConfiguration) - Method in class net.dataforte.cassandra.pool.PooledConnection
Sets the pool configuration for this connection and connection pool.
setPort(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setPort(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the Cassandra port
setPort(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setRemoveAbandoned(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setRemoveAbandoned(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
boolean flag to remove abandoned connections if they exceed the removeAbandonedTimout.
setRemoveAbandoned(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
boolean flag to remove abandoned connections if they exceed the removeAbandonedTimout.
setRemoveAbandonedTimeout(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setRemoveAbandonedTimeout(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The time in seconds before a connection can be considered abandoned.
setRemoveAbandonedTimeout(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
The time in seconds before a connection can be considered abandoned.
setSocketTimeout(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setSocketTimeout(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the socket timeout in milliseconds
setSocketTimeout(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setStackTrace(String) - Method in class net.dataforte.cassandra.pool.PooledConnection
The pool will set the stack trace when it is check out and checked in
setSuspect(boolean) - Method in class net.dataforte.cassandra.pool.PooledConnection
 
setSuspectTimeout(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setSuspectTimeout(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Similar to PoolConfiguration.setRemoveAbandonedTimeout(int) but instead of treating the connection as abandoned, and potentially closing the connection, this simply logs the warning if PoolConfiguration.isLogAbandoned() returns true.
setSuspectTimeout(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
Similar to PoolConfiguration.setRemoveAbandonedTimeout(int) but instead of treating the connection as abandoned, and potentially closing the connection, this simply logs the warning if PoolConfiguration.isLogAbandoned() returns true.
setTestOnBorrow(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setTestOnBorrow(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The indication of whether objects will be validated before being borrowed from the pool.
setTestOnBorrow(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
The indication of whether objects will be validated before being borrowed from the pool.
setTestOnConnect(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setTestOnConnect(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set to true if we should run the validation query when connecting to the database for the first time on a connection.
setTestOnConnect(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
Set to true if we should run the validation query when connecting to the database for the first time on a connection.
setTestOnReturn(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setTestOnReturn(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The indication of whether objects will be validated after being returned to the pool.
setTestOnReturn(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
The indication of whether objects will be validated after being returned to the pool.
setTestWhileIdle(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setTestWhileIdle(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set to true if query validation should take place while the connection is idle.
setTestWhileIdle(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
Set to true if query validation should take place while the connection is idle.
setTimeBetweenEvictionRunsMillis(int) - Method in class net.dataforte.cassandra.pool.DataSource
 
setTimeBetweenEvictionRunsMillis(int) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
The number of milliseconds to sleep between runs of the idle connection validation, abandoned cleaner and idle pool resizing.
setTimeBetweenEvictionRunsMillis(int) - Method in class net.dataforte.cassandra.pool.PoolProperties
The number of milliseconds to sleep between runs of the idle connection validation, abandoned cleaner and idle pool resizing.
setTimestamp(long) - Method in class net.dataforte.cassandra.pool.PooledConnection
Sets a timestamp on this connection.
setUrl(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
setUrl(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the Cassandra connection URL.
setUrl(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
 
setUseEquals(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setUseEquals(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set to true if you wish the ProxyConnection class to use String.equals instead of == when comparing method names.
setUseEquals(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
Set to true if you wish the ProxyConnection class to use String.equals instead of == when comparing method names.
setUseLock(boolean) - Method in class net.dataforte.cassandra.pool.DataSource
 
setUseLock(boolean) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Set to true if a lock should be used when operations are performed on the connection object.
setUseLock(boolean) - Method in class net.dataforte.cassandra.pool.PoolProperties
Set to true if a lock should be used when operations are performed on the connection object.
setUsername(String) - Method in class net.dataforte.cassandra.pool.DataSource
 
setUsername(String) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
Sets the username used to establish the connection with
setUsername(String) - Method in class net.dataforte.cassandra.pool.PoolProperties
Sets the username used to establish the connection with
setValidationInterval(long) - Method in class net.dataforte.cassandra.pool.DataSource
 
setValidationInterval(long) - Method in interface net.dataforte.cassandra.pool.PoolConfiguration
avoid excess validation, only run validation at most at this frequency - time in milliseconds.
setValidationInterval(long) - Method in class net.dataforte.cassandra.pool.PoolProperties
avoid excess validation, only run validation at most at this frequency - time in milliseconds.
shouldAbandon() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Determines if a connection should be abandoned based on PoolProperties.abandonWhenPercentageFull setting.
shouldClose(PooledConnection, int) - Method in class net.dataforte.cassandra.pool.ConnectionPool
Determines if a connection should be closed upon return to the pool.
size() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
sleepTime - Variable in class net.dataforte.cassandra.pool.ConnectionPool.PoolMaintenance
 
socketTimeout - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
stopRunning() - Method in class net.dataforte.cassandra.pool.ConnectionPool.PoolMaintenance
 
suspect(PooledConnection) - Method in class net.dataforte.cassandra.pool.ConnectionPool
thread safe way to abandon a connection signals a connection to be abandoned. this will disconnect the connection, and log the stack trace if logAbanded=true
SUSPECT_ABANDONED_NOTIFICATION - Static variable in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
suspectTimeout - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

T

take() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
testAllIdle() - Method in class net.dataforte.cassandra.pool.ConnectionPool
Forces a validation of all idle connections if PoolProperties.testWhileIdle is set.
testIdle() - Method in class net.dataforte.cassandra.pool.jmx.ConnectionPoolMBean
 
testOnBorrow - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
testOnConnect - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
testOnReturn - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
testWhileIdle - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
timeBetweenEvictionRunsMillis - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
timestamp() - Method in class net.dataforte.cassandra.pool.CassandraHost
 
toArray() - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
toArray(T[]) - Method in class net.dataforte.cassandra.pool.FairBlockingQueue
toString() - Method in class net.dataforte.cassandra.pool.CassandraHost
 
toString() - Method in class net.dataforte.cassandra.pool.CassandraRing
 
toString() - Method in class net.dataforte.cassandra.pool.DataSourceProxy
 
toString() - Method in class net.dataforte.cassandra.pool.PooledConnection
 
toString() - Method in class net.dataforte.cassandra.pool.PoolProperties
 

U

unlock() - Method in class net.dataforte.cassandra.pool.PooledConnection
Unlocks the connection only if the sweeper is enabled Otherwise this is a noop for performance
unregisterJmx() - Method in class net.dataforte.cassandra.pool.DataSource
 
url - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
useEquals - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
useLock - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
username - Variable in class net.dataforte.cassandra.pool.PoolProperties
 

V

validate(int) - Method in class net.dataforte.cassandra.pool.PooledConnection
Returns true if the object is still valid. if not the pool will call the getExpiredAction() and follow up with one of the four expired methods
VALIDATE_BORROW - Static variable in class net.dataforte.cassandra.pool.PooledConnection
Validate when connection is borrowed flag
VALIDATE_IDLE - Static variable in class net.dataforte.cassandra.pool.PooledConnection
Validate when connection is idle flag
VALIDATE_INIT - Static variable in class net.dataforte.cassandra.pool.PooledConnection
Validate when connection is initialized flag
VALIDATE_RETURN - Static variable in class net.dataforte.cassandra.pool.PooledConnection
Validate when connection is returned flag
validationInterval - Variable in class net.dataforte.cassandra.pool.PoolProperties
 
valueOf(String) - Static method in enum net.dataforte.cassandra.pool.HostCyclePolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.dataforte.cassandra.pool.HostFailoverPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.dataforte.cassandra.pool.HostCyclePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.dataforte.cassandra.pool.HostFailoverPolicy
Returns an array containing the constants of this enum type, in the order they are declared.

A B C D E F G H I J K L M N O P R S T U V

Copyright © 2011. All Rights Reserved.