org.jumpmind.symmetric.fs.client
Class SyncClientEngine

java.lang.Object
  extended by org.jumpmind.symmetric.fs.client.SyncClientEngine

public class SyncClientEngine
extends Object


Field Summary
protected  SyncConfigCollection config
           
protected  org.slf4j.Logger log
           
protected  IPersisterServices persisterServices
           
protected  ScriptAPI scriptApi
           
protected  IServerNodeLocker serverNodeLocker
           
protected  ISyncClientListener syncClientListener
           
protected  List<SyncJob> syncJobs
           
protected  org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler
           
protected  TransportConnectorFactory transportConnectorFactory
           
 
Constructor Summary
SyncClientEngine()
           
 
Method Summary
protected  SyncJob addSyncJob(Node node, SyncConfig syncConfig)
           
protected  IPersisterServices createPersisterServices()
           
protected  IServerNodeLocker createServerNodeLocker()
           
protected  TransportConnectorFactory createTransportConnectorFactory(IPersisterServices persisterServices)
           
protected  String getConfigDirectory()
           
 ScriptAPI getScriptApi()
           
protected  String getStatusDirectory()
           
 ISyncClientListener getSyncClientListener()
           
protected  void init()
           
protected  void initJobs()
           
protected  void initTaskScheduler()
           
 void setScriptApi(ScriptAPI api)
           
 void setSyncClientListener(ISyncClientListener clientListener)
           
 void start()
           
protected  void startTaskScheduler()
           
 void stop()
           
protected  void stopTaskScheduler()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.slf4j.Logger log

persisterServices

protected IPersisterServices persisterServices

config

protected SyncConfigCollection config

serverNodeLocker

protected IServerNodeLocker serverNodeLocker

taskScheduler

protected org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler

syncJobs

protected List<SyncJob> syncJobs

scriptApi

protected ScriptAPI scriptApi

syncClientListener

protected ISyncClientListener syncClientListener

transportConnectorFactory

protected TransportConnectorFactory transportConnectorFactory
Constructor Detail

SyncClientEngine

public SyncClientEngine()
Method Detail

init

protected void init()

initTaskScheduler

protected void initTaskScheduler()

startTaskScheduler

protected void startTaskScheduler()

stopTaskScheduler

protected void stopTaskScheduler()

start

public void start()

initJobs

protected void initJobs()

setScriptApi

public void setScriptApi(ScriptAPI api)

getScriptApi

public ScriptAPI getScriptApi()

setSyncClientListener

public void setSyncClientListener(ISyncClientListener clientListener)

getSyncClientListener

public ISyncClientListener getSyncClientListener()

addSyncJob

protected SyncJob addSyncJob(Node node,
                             SyncConfig syncConfig)

stop

public void stop()

getStatusDirectory

protected String getStatusDirectory()

getConfigDirectory

protected String getConfigDirectory()

createTransportConnectorFactory

protected TransportConnectorFactory createTransportConnectorFactory(IPersisterServices persisterServices)

createPersisterServices

protected IPersisterServices createPersisterServices()

createServerNodeLocker

protected IServerNodeLocker createServerNodeLocker()


Copyright © 2012 JumpMind, Inc.. All Rights Reserved.