Module com.aoapps.appcluster.jdbc
Package com.aoapps.appcluster.jdbc
Class JdbcResourcePropertiesConfiguration
java.lang.Object
com.aoapps.appcluster.ResourcePropertiesConfiguration<JdbcResource,JdbcResourceNode>
com.aoapps.appcluster.CronResourcePropertiesConfiguration<JdbcResource,JdbcResourceNode>
com.aoapps.appcluster.jdbc.JdbcResourcePropertiesConfiguration
- All Implemented Interfaces:
CronResourceConfiguration<JdbcResource,
,JdbcResourceNode> JdbcResourceConfiguration
,ResourceConfiguration<JdbcResource,
JdbcResourceNode>
public class JdbcResourcePropertiesConfiguration
extends CronResourcePropertiesConfiguration<JdbcResource,JdbcResourceNode>
implements JdbcResourceConfiguration
The configuration for a JDBC resource.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoapps.appcluster.ResourcePropertiesConfiguration
display, enabled, id, masterRecords, masterRecordsTtl, properties, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet
<? extends JdbcResourceNodePropertiesConfiguration> newResource
(AppCluster cluster, Collection<? extends ResourceNode<?, ?>> resourceNodes) Methods inherited from class com.aoapps.appcluster.CronResourcePropertiesConfiguration
getSynchronizeSchedule, getSynchronizeTimeout, getTestSchedule, getTestTimeout
Methods inherited from class com.aoapps.appcluster.ResourcePropertiesConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getType, hashCode, isEnabled, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aoapps.appcluster.CronResourceConfiguration
getSynchronizeSchedule, getSynchronizeTimeout, getTestSchedule, getTestTimeout
Methods inherited from interface com.aoapps.appcluster.ResourceConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getType, hashCode, isEnabled, toString
-
Constructor Details
-
JdbcResourcePropertiesConfiguration
protected JdbcResourcePropertiesConfiguration(AppClusterPropertiesConfiguration properties, String id) throws AppClusterConfigurationException Creates a newJdbcResourcePropertiesConfiguration
.- Throws:
AppClusterConfigurationException
-
-
Method Details
-
getSchemas
Description copied from interface:JdbcResourceConfiguration
- Specified by:
getSchemas
in interfaceJdbcResourceConfiguration
-
getTableTypes
Description copied from interface:JdbcResourceConfiguration
- Specified by:
getTableTypes
in interfaceJdbcResourceConfiguration
-
getExcludeTables
Description copied from interface:JdbcResourceConfiguration
- Specified by:
getExcludeTables
in interfaceJdbcResourceConfiguration
-
getNoWarnTables
Description copied from interface:JdbcResourceConfiguration
- Specified by:
getNoWarnTables
in interfaceJdbcResourceConfiguration
-
getPrepareSlaves
Description copied from interface:JdbcResourceConfiguration
- Specified by:
getPrepareSlaves
in interfaceJdbcResourceConfiguration
-
getResourceNodeConfigurations
public Set<? extends JdbcResourceNodePropertiesConfiguration> getResourceNodeConfigurations() throws AppClusterConfigurationException- Specified by:
getResourceNodeConfigurations
in interfaceJdbcResourceConfiguration
- Specified by:
getResourceNodeConfigurations
in interfaceResourceConfiguration<JdbcResource,
JdbcResourceNode> - Specified by:
getResourceNodeConfigurations
in classResourcePropertiesConfiguration<JdbcResource,
JdbcResourceNode> - Throws:
AppClusterConfigurationException
-
newResource
public JdbcResource newResource(AppCluster cluster, Collection<? extends ResourceNode<?, ?>> resourceNodes) throws AppClusterConfigurationException- Specified by:
newResource
in interfaceJdbcResourceConfiguration
- Specified by:
newResource
in interfaceResourceConfiguration<JdbcResource,
JdbcResourceNode> - Specified by:
newResource
in classResourcePropertiesConfiguration<JdbcResource,
JdbcResourceNode> - Throws:
AppClusterConfigurationException
-