net.ontopia.topicmaps.db2tm
Class SynchronizationTask
java.lang.Object
java.util.TimerTask
net.ontopia.topicmaps.db2tm.SynchronizationTask
- All Implemented Interfaces:
- Runnable
public class SynchronizationTask
- extends TimerTask
INTERNAL: TimerTask that runs DB2TM synchronization.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastExecutions
protected static Map lastExecutions
name
protected String name
rmappingfile
protected String rmappingfile
relnames
protected Collection relnames
ref
protected TopicMapReferenceIF ref
baseloc
protected LocatorIF baseloc
timer
protected Timer timer
SynchronizationTask
public SynchronizationTask(String name,
long delay,
long interval)
SynchronizationTask
public SynchronizationTask(String name,
Date startTime,
long interval)
setRelationMappingFile
public void setRelationMappingFile(String rmappingfile)
setRelationNames
public void setRelationNames(Collection relnames)
setTopicMapReference
public void setTopicMapReference(TopicMapReferenceIF ref)
setBaseLocator
public void setBaseLocator(LocatorIF baseloc)
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask
stop
public void stop()
getLastExecution
public static Date getLastExecution(String taskname)
Copyright © 2000-2012 Ontopia.