public interface ISymmetricEngine
| Modifier and Type | Method and Description |
|---|---|
void |
clearCaches() |
void |
destroy() |
void |
forceTriggerRebuild()
Call this to force all triggers to be rebuilt
|
IAcknowledgeService |
getAcknowledgeService() |
IBandwidthService |
getBandwidthService() |
IClusterService |
getClusterService() |
IConcurrentConnectionManager |
getConcurrentConnectionManager() |
IConfigurationService |
getConfigurationService() |
IContextService |
getContextService() |
org.jumpmind.db.platform.IDatabasePlatform |
getDatabasePlatform() |
IDataExtractorService |
getDataExtractorService() |
IDataLoaderService |
getDataLoaderService() |
IDataService |
getDataService() |
<T> T |
getDataSource() |
java.lang.String |
getDeploymentSubType() |
java.lang.String |
getDeploymentType() |
java.lang.String |
getEngineDescription(java.lang.String mesage) |
java.lang.String |
getEngineName() |
IExtensionService |
getExtensionService() |
IDataExtractorService |
getFileSyncExtractorService() |
IFileSyncService |
getFileSyncService() |
IGroupletService |
getGroupletService() |
IIncomingBatchService |
getIncomingBatchService() |
IInitialLoadService |
getInitialLoadService() |
IJobManager |
getJobManager() |
java.lang.String |
getLastException() |
java.util.Date |
getLastRestartTime() |
ILoadFilterService |
getLoadFilterService() |
org.slf4j.Logger |
getLog() |
IMailService |
getMailService() |
IMonitorService |
getMonitorService() |
INodeCommunicationService |
getNodeCommunicationService() |
java.lang.String |
getNodeId() |
INodeService |
getNodeService() |
NodeStatus |
getNodeStatus()
Get the current status of this node.
|
IOfflinePullService |
getOfflinePullService() |
IOfflinePushService |
getOfflinePushService() |
IOutgoingBatchService |
getOutgoingBatchService() |
IParameterService |
getParameterService() |
java.util.Properties |
getProperties()
Get a list of configured properties for Symmetric.
|
IPullService |
getPullService() |
IPurgeService |
getPurgeService() |
IPushService |
getPushService() |
IRegistrationService |
getRegistrationService() |
IRouterService |
getRouterService() |
org.jumpmind.security.ISecurityService |
getSecurityService() |
ISequenceService |
getSequenceService() |
org.jumpmind.db.sql.ISqlTemplate |
getSqlTemplate() |
org.jumpmind.symmetric.io.stage.IStagingManager |
getStagingManager() |
IStatisticManager |
getStatisticManager() |
IStatisticService |
getStatisticService() |
ISymmetricDialect |
getSymmetricDialect() |
java.lang.String |
getSyncUrl() |
java.lang.String |
getTablePrefix() |
ISymmetricDialect |
getTargetDialect() |
ITransformService |
getTransformService() |
ITransportManager |
getTransportManager() |
ITriggerRouterService |
getTriggerRouterService() |
IUpdateService |
getUpdateService() |
void |
heartbeat(boolean force)
Push a copy of the node onto the push queue so the SymmetricDS node
'checks' in with it's root node.
|
boolean |
isConfigured()
Will check to see if this instance of SymmetricDS is configured with the
required properties for a node to operate.
|
boolean |
isInitialized() |
boolean |
isRegistered()
Check to see if this node has been registered.
|
boolean |
isStarted()
Check to see if this node has been started.
|
boolean |
isStarting()
Check to see if this node is starting.
|
java.util.List<java.io.File> |
listSnapshots() |
void |
openRegistration(java.lang.String groupId,
java.lang.String externalId)
Open up registration for node to attach.
|
RemoteNodeStatuses |
pull()
Will perform a pull the same way the
PullJob would have. |
void |
purge()
This can be called to do a purge.
|
RemoteNodeStatuses |
push()
Will perform a push the same way the
PushJob would have. |
java.lang.String |
reloadNode(java.lang.String nodeId,
java.lang.String createBy)
Queue up an initial load or a reload to a node.
|
void |
removeAndCleanupNode(java.lang.String nodeId) |
void |
reOpenRegistration(java.lang.String nodeId) |
void |
route()
Route captured data the same way the
RouterJob would have. |
java.lang.String |
sendSQL(java.lang.String nodeId,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String sql) |
void |
setup()
Will setup the SymmetricDS tables, if not already setup and if the engine
is configured to do so.
|
void |
setupDatabase(boolean force)
Attempt to configure the database objects that support SymmetricDS.
|
java.io.File |
snapshot() |
boolean |
start()
Must be called to start SymmetricDS.
|
boolean |
start(boolean startJobs) |
void |
stop() |
void |
syncTriggers()
Call this to resync triggers
|
void |
uninstall() |
void stop()
void destroy()
void uninstall()
java.lang.String getSyncUrl()
java.util.Properties getProperties()
java.lang.String getEngineName()
void setup()
boolean start()
boolean start(boolean startJobs)
java.lang.String reloadNode(java.lang.String nodeId,
java.lang.String createBy)
createBy - TODOjava.lang.String sendSQL(java.lang.String nodeId,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String tableName,
java.lang.String sql)
RemoteNodeStatuses push()
PushJob would have.RemoteNodeStatusesIPushService.pushData(boolean)void syncTriggers()
ITriggerRouterService.syncTriggers()void forceTriggerRebuild()
ITriggerRouterService#forceTriggerRebuild()NodeStatus getNodeStatus()
NodeStatusRemoteNodeStatuses pull()
PullJob would have.RemoteNodeStatusesIPullService.pullData(boolean)void route()
RouterJob would have.void purge()
OutgoingPurgeJob has not been enabled.IPurgeService.purgeOutgoing(boolean)boolean isConfigured()
void heartbeat(boolean force)
force - When force is true the heart beat will always be inserted. If it is false,
the heart beat will only be inserted if the period between heart beats has expired.void openRegistration(java.lang.String groupId,
java.lang.String externalId)
void reOpenRegistration(java.lang.String nodeId)
boolean isRegistered()
boolean isStarted()
boolean isInitialized()
boolean isStarting()
void clearCaches()
void setupDatabase(boolean force)
force - forces this action to be run regardless of the parameter settingsvoid removeAndCleanupNode(java.lang.String nodeId)
IConfigurationService getConfigurationService()
IParameterService getParameterService()
INodeService getNodeService()
IRegistrationService getRegistrationService()
IClusterService getClusterService()
IPurgeService getPurgeService()
IDataService getDataService()
ISymmetricDialect getSymmetricDialect()
ISymmetricDialect getTargetDialect()
IJobManager getJobManager()
IOutgoingBatchService getOutgoingBatchService()
IAcknowledgeService getAcknowledgeService()
IBandwidthService getBandwidthService()
IDataExtractorService getDataExtractorService()
IDataExtractorService getFileSyncExtractorService()
IDataLoaderService getDataLoaderService()
IIncomingBatchService getIncomingBatchService()
IPullService getPullService()
IPushService getPushService()
IOfflinePullService getOfflinePullService()
IOfflinePushService getOfflinePushService()
IRouterService getRouterService()
org.jumpmind.security.ISecurityService getSecurityService()
IStatisticService getStatisticService()
ITriggerRouterService getTriggerRouterService()
IGroupletService getGroupletService()
IStatisticManager getStatisticManager()
java.lang.String getDeploymentType()
java.lang.String getDeploymentSubType()
IConcurrentConnectionManager getConcurrentConnectionManager()
ITransformService getTransformService()
ILoadFilterService getLoadFilterService()
IInitialLoadService getInitialLoadService()
ITransportManager getTransportManager()
INodeCommunicationService getNodeCommunicationService()
ISequenceService getSequenceService()
java.lang.String getTablePrefix()
org.slf4j.Logger getLog()
IExtensionService getExtensionService()
IMonitorService getMonitorService()
IMailService getMailService()
org.jumpmind.symmetric.io.stage.IStagingManager getStagingManager()
org.jumpmind.db.sql.ISqlTemplate getSqlTemplate()
IFileSyncService getFileSyncService()
IContextService getContextService()
IUpdateService getUpdateService()
java.util.Date getLastRestartTime()
<T> T getDataSource()
org.jumpmind.db.platform.IDatabasePlatform getDatabasePlatform()
java.io.File snapshot()
java.util.List<java.io.File> listSnapshots()
java.lang.String getNodeId()
java.lang.String getLastException()
java.lang.String getEngineDescription(java.lang.String mesage)