public class BatchPolicyFactoryBean extends ReadPolicyFactoryBean
FactoryBean implementation that exposes the setters necessary to configure a BatchPolicy via XML.| Constructor and Description |
|---|
BatchPolicyFactoryBean()
Creates a new
BatchPolicyFactoryBean. |
| Modifier and Type | Method and Description |
|---|---|
com.aerospike.client.policy.BatchPolicy |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setMaxConcurrentThreads(int maxConcurrentThreads)
Configures the maximum number of concurrent batch request threads to server nodes at any point in time
|
setConsistencyLevel, setMaxRetries, setPriority, setSleepBetweenRetries, setSocketTimeout, setTotalTimeoutpublic BatchPolicyFactoryBean()
BatchPolicyFactoryBean.public void setMaxConcurrentThreads(int maxConcurrentThreads)
maxConcurrentThreads - public com.aerospike.client.policy.BatchPolicy 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