|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AstyanaxConfiguration
Interface defining all astyanax API configuration parameters.
| Method Summary | |
|---|---|
java.util.concurrent.ExecutorService |
getAsyncExecutor()
Return the maximum number of allows async threads to executeAsync() |
com.netflix.astyanax.Clock |
getClock()
Return clock to use when setting timestamps for column insertion and deletion operations. |
com.netflix.astyanax.connectionpool.impl.ConnectionPoolType |
getConnectionPoolType()
Type of connection pool to use for this instance |
java.lang.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 |
com.netflix.astyanax.connectionpool.NodeDiscoveryType |
getDiscoveryType()
Get type of node discovery to perform |
com.netflix.astyanax.partitioner.Partitioner |
getPartitioner(java.lang.String partitionerName)
|
com.netflix.astyanax.retry.RetryPolicy |
getRetryPolicy()
TODO |
java.lang.String |
getTargetCassandraVersion()
|
| Method Detail |
|---|
com.netflix.astyanax.retry.RetryPolicy getRetryPolicy()
ConsistencyLevel getDefaultReadConsistencyLevel()
ConsistencyLevel getDefaultWriteConsistencyLevel()
com.netflix.astyanax.Clock getClock()
java.util.concurrent.ExecutorService getAsyncExecutor()
int getDiscoveryDelayInSeconds()
com.netflix.astyanax.connectionpool.NodeDiscoveryType getDiscoveryType()
com.netflix.astyanax.connectionpool.impl.ConnectionPoolType getConnectionPoolType()
java.lang.String getCqlVersion()
cqlVersion - java.lang.String getTargetCassandraVersion()
com.netflix.astyanax.partitioner.Partitioner getPartitioner(java.lang.String partitionerName)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||