public class BatchPolicyFactoryBean extends ReadPolicyFactoryBean
FactoryBean implementation that exposes the setters necessary to configure a BatchPolicy via XML.OBJECT_TYPE_ATTRIBUTE| 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
|
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 FactoryBean<com.aerospike.client.policy.Policy>getObject in class ReadPolicyFactoryBeanExceptionpublic boolean isSingleton()
isSingleton in interface FactoryBean<com.aerospike.client.policy.Policy>isSingleton in class ReadPolicyFactoryBeanpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<com.aerospike.client.policy.Policy>getObjectType in class ReadPolicyFactoryBeanCopyright © 2012–2020 Aerospike, Inc. All rights reserved.