public class QueryPolicyFactoryBean extends ReadPolicyFactoryBean
FactoryBean implementation that exposes the setters necessary to configure a QueryPolicy via XML.| Constructor and Description |
|---|
QueryPolicyFactoryBean()
Creates a new
QueryPolicyFactoryBean. |
| Modifier and Type | Method and Description |
|---|---|
com.aerospike.client.policy.QueryPolicy |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setMaxConcurrentNodes(int maxConcurrentNodes)
Configures the maximum number of concurrent requests to server nodes at any point in time.
|
void |
setRecordQueueSize(int recordQueueSize)
Configure the number of records to place in queue before blocking.
|
setConsistencyLevel, setMaxRetries, setPriority, setSleepBetweenRetries, setSocketTimeout, setTotalTimeoutpublic QueryPolicyFactoryBean()
QueryPolicyFactoryBean.public void setMaxConcurrentNodes(int maxConcurrentNodes)
maxConcurrentNodes - public void setRecordQueueSize(int recordQueueSize)
recordQueueSize - public com.aerospike.client.policy.QueryPolicy getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<com.aerospike.client.policy.Policy>getObject in class ReadPolicyFactoryBeanjava.lang.Exceptionpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<com.aerospike.client.policy.Policy>isSingleton in class ReadPolicyFactoryBeanpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<com.aerospike.client.policy.Policy>getObjectType in class ReadPolicyFactoryBean