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