org.openspaces.persistency.cassandra
Class HectorCassandraClientFactoryBean
java.lang.Object
org.openspaces.persistency.cassandra.HectorCassandraClientFactoryBean
- All Implemented Interfaces:
- DisposableBean, FactoryBean<HectorCassandraClient>, InitializingBean
public class HectorCassandraClientFactoryBean
- extends Object
- implements FactoryBean<HectorCassandraClient>, InitializingBean, DisposableBean
- Since:
- 9.1.1
- Author:
- Dan Kilman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HectorCassandraClientFactoryBean
public HectorCassandraClientFactoryBean()
getConfigurer
protected HectorCassandraClientConfigurer getConfigurer()
setHosts
public void setHosts(String hosts)
- See Also:
HectorCassandraClientConfigurer.hosts(String)
setPort
public void setPort(int port)
- See Also:
HectorCassandraClientConfigurer#port(int)
setKeyspaceName
public void setKeyspaceName(String keyspaceName)
- See Also:
HectorCassandraClientConfigurer.keyspaceName(String)
setClusterName
public void setClusterName(String clusterName)
- See Also:
HectorCassandraClientConfigurer.clusterName(String)
setColumnFamilyGcGraceSeconds
public void setColumnFamilyGcGraceSeconds(int columnFamilyGcGraceSeconds)
- See Also:
HectorCassandraClientConfigurer#columnFamilyGcGraceSeconds(int)
setReadConsistencyLevel
public void setReadConsistencyLevel(CassandraConsistencyLevel readConsistencyLevel)
- See Also:
HectorCassandraClientConfigurer.readConsistencyLevel(CassandraConsistencyLevel)
setWriteConsistencyLevel
public void setWriteConsistencyLevel(CassandraConsistencyLevel writeConsistencyLevel)
- See Also:
HectorCassandraClientConfigurer.writeConsistencyLevel(CassandraConsistencyLevel)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
getObject
public HectorCassandraClient getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<HectorCassandraClient>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<HectorCassandraClient>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<HectorCassandraClient>
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface DisposableBean
- Throws:
Exception
Copyright © GigaSpaces.