public abstract class AbstractDatabaseClusterConfiguration<Z,D extends Database<Z>> extends Object implements DatabaseClusterConfiguration<Z,D>
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractDatabaseClusterConfiguration.NestedConfiguration<Z,D extends Database<Z>> |
protected static class |
AbstractDatabaseClusterConfiguration.Property |
Constructor and Description |
---|
AbstractDatabaseClusterConfiguration() |
public AbstractDatabaseClusterConfiguration()
protected abstract AbstractDatabaseClusterConfiguration.NestedConfiguration<Z,D> getNestedConfiguration()
public DatabaseFactory<Z,D> getDatabaseFactory()
getDatabaseFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
public CronExpression getAutoActivationExpression()
getAutoActivationExpression
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getAutoActivationExpression()
public void setAutoActivationExpression(CronExpression expression)
public BalancerFactory getBalancerFactory()
getBalancerFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
Balancer
DatabaseClusterConfiguration.getBalancerFactory()
public void setBalancerFactory(BalancerFactory factory)
public CommandDispatcherFactory getDispatcherFactory()
getDispatcherFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getDispatcherFactory()
public void setDispatcherFactory(CommandDispatcherFactory factory)
public ConcurrentMap<String,D> getDatabaseMap()
getDatabaseMap
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getDatabaseMap()
public void setDatabases(Collection<D> databases)
public DatabaseMetaDataCacheFactory getDatabaseMetaDataCacheFactory()
getDatabaseMetaDataCacheFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseMetaDataCache
implementationDatabaseClusterConfiguration.getDatabaseMetaDataCacheFactory()
public void setDatabaseMetaDataCacheFactory(DatabaseMetaDataCacheFactory factory)
public String getDefaultSynchronizationStrategy()
getDefaultSynchronizationStrategy
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getDefaultSynchronizationStrategy()
public void setDefaultSynchronizationStrategy(String strategy)
public DialectFactory getDialectFactory()
getDialectFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
Dialect
DatabaseClusterConfiguration.getDialectFactory()
public void setDialectFactory(DialectFactory factory)
public DurabilityFactory getDurabilityFactory()
getDurabilityFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getDurabilityFactory()
public void setDurabilityFactory(DurabilityFactory factory)
public ExecutorServiceProvider getExecutorProvider()
getExecutorProvider
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getExecutorProvider()
public void setExecutorProvider(ExecutorServiceProvider provider)
public ThreadFactory getThreadFactory()
getThreadFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getThreadFactory()
public void setThreadFactory(ThreadFactory factory)
public DecoderFactory getDecoderFactory()
getDecoderFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getDecoderFactory()
public void setCodecFactory(DecoderFactory factory)
public CronExpression getFailureDetectionExpression()
getFailureDetectionExpression
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getFailureDetectionExpression()
public void setFailureDetectionExpression(CronExpression expression)
public StateManagerFactory getStateManagerFactory()
getStateManagerFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getStateManagerFactory()
public void setStateManagerFactory(StateManagerFactory factory)
public LockManagerFactory getLockManagerFactory()
getLockManagerFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
public void setLockManagerFactory(LockManagerFactory factory)
public Map<String,SynchronizationStrategy> getSynchronizationStrategyMap()
getSynchronizationStrategyMap
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getSynchronizationStrategyMap()
public void setSynchronizationStrategyMap(Map<String,SynchronizationStrategy> strategies)
public TransactionMode getTransactionMode()
getTransactionMode
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getTransactionMode()
public void setTransactionMode(TransactionMode mode)
public InputSinkProvider getInputSinkProvider()
getInputSinkProvider
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
public void setInputSinkFactoryProvider(InputSinkProvider provider)
public boolean isCurrentDateEvaluationEnabled()
isCurrentDateEvaluationEnabled
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.isCurrentDateEvaluationEnabled()
public void setCurrentDateEvaluationEnabled(boolean enabled)
public boolean isCurrentTimeEvaluationEnabled()
isCurrentTimeEvaluationEnabled
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.isCurrentTimeEvaluationEnabled()
public void setCurrentTimeEvaluationEnabled(boolean enabled)
public boolean isCurrentTimestampEvaluationEnabled()
isCurrentTimestampEvaluationEnabled
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.isCurrentTimestampEvaluationEnabled()
public void setCurrentTimestampEvaluationEnabled(boolean enabled)
public boolean isIdentityColumnDetectionEnabled()
isIdentityColumnDetectionEnabled
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.isIdentityColumnDetectionEnabled()
public void setIdentityColumnDetectionEnabled(boolean enabled)
public boolean isRandEvaluationEnabled()
isRandEvaluationEnabled
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.isRandEvaluationEnabled()
public void setRandEvaluationEnabled(boolean enabled)
public boolean isSequenceDetectionEnabled()
isSequenceDetectionEnabled
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.isSequenceDetectionEnabled()
public void setSequenceDetectionEnabled(boolean enabled)
public MBeanRegistrar<Z,D> getMBeanRegistrar()
getMBeanRegistrar
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getMBeanRegistrar()
public void setMBeanRegistrar(MBeanRegistrar<Z,D> registrar)
public boolean isEmptyClusterAllowed()
isEmptyClusterAllowed
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.isEmptyClusterAllowed()
public void setEmptyClusterAllowed(boolean emptyClusterAllowed)
public TransactionIdentifierFactory<? extends Object> getTransactionIdentifierFactory()
getTransactionIdentifierFactory
in interface DatabaseClusterConfiguration<Z,D extends Database<Z>>
DatabaseClusterConfiguration.getTransactionIdentifierFactory()
Copyright © 2004–2014 Paul Ferraro. All rights reserved.