public class KeyspaceFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<me.prettyprint.hector.api.Keyspace>, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
KeyspaceFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
me.prettyprint.hector.api.Keyspace |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setClusterName(String clusterName) |
void |
setDefaultReadConsistencyLevel(me.prettyprint.hector.api.HConsistencyLevel defaultReadConsistencyLevel) |
void |
setDefaultWriteConsistencyLevel(me.prettyprint.hector.api.HConsistencyLevel defaultWriteConsistencyLevel) |
void |
setKeyspaceName(String keyspaceName) |
void |
setLoadBalancingPolicy(me.prettyprint.cassandra.connection.LoadBalancingPolicy loadBalancingPolicy) |
void |
setMaxActive(int maxActive) |
void |
setReplicationFactor(int replicationFactor) |
void |
setReplicationStrategyClass(String replicationStrategyClass) |
void |
setServerPattern(String serverPattern) |
void |
setServerSpread(String serverSpread) |
void |
setVerify(boolean verify) |
void |
setWaitTimeWhenExhausted(long waitTimeWhenExhausted) |
public void setServerPattern(String serverPattern)
public void setServerSpread(String serverSpread)
public void setClusterName(String clusterName)
public void setKeyspaceName(String keyspaceName)
public void setDefaultReadConsistencyLevel(me.prettyprint.hector.api.HConsistencyLevel defaultReadConsistencyLevel)
public void setDefaultWriteConsistencyLevel(me.prettyprint.hector.api.HConsistencyLevel defaultWriteConsistencyLevel)
public void setLoadBalancingPolicy(me.prettyprint.cassandra.connection.LoadBalancingPolicy loadBalancingPolicy)
public void setReplicationStrategyClass(String replicationStrategyClass)
public void setReplicationFactor(int replicationFactor)
public void setMaxActive(int maxActive)
public void setWaitTimeWhenExhausted(long waitTimeWhenExhausted)
public void setVerify(boolean verify)
public void afterPropertiesSet()
throws SpreadParserException,
NoSuchMethodException,
InstantiationException,
IllegalAccessException,
InvocationTargetException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanSpreadParserExceptionNoSuchMethodExceptionInstantiationExceptionIllegalAccessExceptionInvocationTargetExceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<me.prettyprint.hector.api.Keyspace>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<me.prettyprint.hector.api.Keyspace>public me.prettyprint.hector.api.Keyspace getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<me.prettyprint.hector.api.Keyspace>Copyright © 2017. All rights reserved.