public class

AstyanaxConfigurationImpl

extends Object
implements AstyanaxConfiguration
java.lang.Object
   ↳ com.netflix.astyanax.impl.AstyanaxConfigurationImpl

Summary

Public Constructors
AstyanaxConfigurationImpl()
Public Methods
ExecutorService getAsyncExecutor()
Return the maximum number of allows async threads to executeAsync()
Clock getClock()
Return clock to use when setting timestamps for column insertion and deletion operations.
ConnectionPoolType getConnectionPoolType()
Type of connection pool to use for this instance
String getCqlVersion()
Get the CQL version to set when sending CQL queries
ConsistencyLevel getDefaultReadConsistencyLevel()
Default consistency level used when reading from the cluster.
ConsistencyLevel getDefaultWriteConsistencyLevel()
Default consistency level used when reading from the cluster.
int getDiscoveryDelayInSeconds()
Fixed delay for node disocvery refresh
NodeDiscoveryType getDiscoveryType()
Get type of node discovery to perform
RetryPolicy getRetryPolicy()
TODO
AstyanaxConfigurationImpl setAsyncExecutor(ExecutorService executor)
AstyanaxConfigurationImpl setClock(Clock clock)
AstyanaxConfigurationImpl setConnectionPoolType(ConnectionPoolType connectionPoolType)
AstyanaxConfigurationImpl setCqlVersion(String cqlVersion)
AstyanaxConfigurationImpl setDefaultReadConsistencyLevel(ConsistencyLevel cl)
AstyanaxConfigurationImpl setDefaultWriteConsistencyLevel(ConsistencyLevel cl)
AstyanaxConfigurationImpl setDiscoveryDelayInSeconds(int delay)
AstyanaxConfigurationImpl setDiscoveryType(NodeDiscoveryType discoveryType)
AstyanaxConfigurationImpl setRetryPolicy(RetryPolicy retryPolicy)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.netflix.astyanax.AstyanaxConfiguration

Public Constructors

public AstyanaxConfigurationImpl ()

Public Methods

public ExecutorService getAsyncExecutor ()

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

public Clock getClock ()

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

public ConnectionPoolType getConnectionPoolType ()

Type of connection pool to use for this instance

public String getCqlVersion ()

Get the CQL version to set when sending CQL queries

public 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 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 int getDiscoveryDelayInSeconds ()

Fixed delay for node disocvery refresh

public NodeDiscoveryType getDiscoveryType ()

Get type of node discovery to perform

public RetryPolicy getRetryPolicy ()

TODO

public AstyanaxConfigurationImpl setAsyncExecutor (ExecutorService executor)

public AstyanaxConfigurationImpl setClock (Clock clock)

public AstyanaxConfigurationImpl setConnectionPoolType (ConnectionPoolType connectionPoolType)

public AstyanaxConfigurationImpl setCqlVersion (String cqlVersion)

public AstyanaxConfigurationImpl setDefaultReadConsistencyLevel (ConsistencyLevel cl)

public AstyanaxConfigurationImpl setDefaultWriteConsistencyLevel (ConsistencyLevel cl)

public AstyanaxConfigurationImpl setDiscoveryDelayInSeconds (int delay)

public AstyanaxConfigurationImpl setDiscoveryType (NodeDiscoveryType discoveryType)

public AstyanaxConfigurationImpl setRetryPolicy (RetryPolicy retryPolicy)

public String toString ()