public interface

AstyanaxConfiguration

com.netflix.astyanax.AstyanaxConfiguration
Known Indirect Subclasses

Class Overview

Interface defining all astyanax API configuration parameters.

Summary

Public Methods
abstract ExecutorService getAsyncExecutor()
Return the maximum number of allows async threads to executeAsync()
abstract Clock getClock()
Return clock to use when setting timestamps for column insertion and deletion operations.
abstract ConnectionPoolType getConnectionPoolType()
Type of connection pool to use for this instance
abstract String getCqlVersion()
Get the CQL version to set when sending CQL queries
abstract ConsistencyLevel getDefaultReadConsistencyLevel()
Default consistency level used when reading from the cluster.
abstract ConsistencyLevel getDefaultWriteConsistencyLevel()
Default consistency level used when reading from the cluster.
abstract int getDiscoveryDelayInSeconds()
Fixed delay for node disocvery refresh
abstract NodeDiscoveryType getDiscoveryType()
Get type of node discovery to perform
abstract RetryPolicy getRetryPolicy()
TODO

Public Methods

public abstract ExecutorService getAsyncExecutor ()

Return the maximum number of allows async threads to executeAsync()

public abstract Clock getClock ()

Return clock to use when setting timestamps for column insertion and deletion operations.

public abstract ConnectionPoolType getConnectionPoolType ()

Type of connection pool to use for this instance

public abstract String getCqlVersion ()

Get the CQL version to set when sending CQL queries

public abstract ConsistencyLevel getDefaultReadConsistencyLevel ()

Default consistency level used when reading from the cluster. This value can be overwritten on the Query operations (returned by Keyspace.prepareXXQuery) by calling Query.setConsistencyLevel().

public abstract ConsistencyLevel getDefaultWriteConsistencyLevel ()

Default consistency level used when reading from the cluster. This value can be overwritten on MutationBatch operation (returned by Keyspace.prepareMutationBatch) by calling MutationBatch.setConsistencyLevel().

public abstract int getDiscoveryDelayInSeconds ()

Fixed delay for node disocvery refresh

public abstract NodeDiscoveryType getDiscoveryType ()

Get type of node discovery to perform

public abstract RetryPolicy getRetryPolicy ()

TODO