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() |
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 Exception
getObject in interface org.springframework.beans.factory.FactoryBean<com.aerospike.client.policy.Policy>getObject in class ReadPolicyFactoryBeanExceptionpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<com.aerospike.client.policy.Policy>isSingleton in class ReadPolicyFactoryBeanpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<com.aerospike.client.policy.Policy>getObjectType in class ReadPolicyFactoryBeanCopyright © 2011–2018 Aerospike Inc.. All rights reserved.