public class KeyspaceActionSpecificationFactoryBean extends Object implements FactoryBean<KeyspaceActions>, InitializingBean
KeyspaceActionSpecification
required to satisfy the configuration action.OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
KeyspaceActionSpecificationFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
KeyspaceAction |
getAction() |
String |
getName() |
List<String> |
getNetworkTopologyDataCenters() |
List<String> |
getNetworkTopologyReplicationFactors() |
KeyspaceActions |
getObject() |
Class<?> |
getObjectType() |
long |
getReplicationFactor() |
KeyspaceOption.ReplicationStrategy |
getReplicationStrategy() |
boolean |
isDurableWrites() |
boolean |
isIfNotExists() |
boolean |
isSingleton() |
void |
setAction(KeyspaceAction action) |
void |
setDurableWrites(boolean durableWrites) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setName(String name) |
void |
setNetworkTopologyDataCenters(List<String> networkTopologyDataCenters) |
void |
setNetworkTopologyReplicationFactors(List<String> networkTopologyReplicationFactors) |
void |
setReplicationFactor(int replicationFactor) |
void |
setReplicationStrategy(KeyspaceOption.ReplicationStrategy replicationStrategy) |
public KeyspaceActionSpecificationFactoryBean()
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public KeyspaceActions getObject()
getObject
in interface FactoryBean<KeyspaceActions>
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<KeyspaceActions>
public boolean isSingleton()
isSingleton
in interface FactoryBean<KeyspaceActions>
public void setName(String name)
name
- The name to set.public boolean isIfNotExists()
public void setIfNotExists(boolean ifNotExists)
ifNotExists
- The ifNotExists to set.@Nullable public KeyspaceAction getAction()
public void setAction(KeyspaceAction action)
action
- The action to set.public boolean isDurableWrites()
public void setDurableWrites(boolean durableWrites)
durableWrites
- The durableWrites to set.@Nullable public KeyspaceOption.ReplicationStrategy getReplicationStrategy()
public void setReplicationStrategy(KeyspaceOption.ReplicationStrategy replicationStrategy)
replicationStrategy
- The replicationStrategy to set.public List<String> getNetworkTopologyDataCenters()
public void setNetworkTopologyDataCenters(List<String> networkTopologyDataCenters)
networkTopologyDataCenters
- The networkTopologyDataCenters to set.public List<String> getNetworkTopologyReplicationFactors()
public void setNetworkTopologyReplicationFactors(List<String> networkTopologyReplicationFactors)
networkTopologyReplicationFactors
- The networkTopologyReplicationFactors to set.public long getReplicationFactor()
public void setReplicationFactor(int replicationFactor)
replicationFactor
- The replicationFactor to set.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.