|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.TimerConnector
public class TimerConnector
This connector provides a simplistic version of a crontab style timer.
Field Summary |
---|
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
TimerConnector()
|
Method Summary | |
---|---|
void |
calcNextRun()
|
void |
checkDate(String[] checkTime,
int dateNum,
int whichDate)
|
void |
checkDay(String month,
int dateNum,
String[] checkTime)
|
void |
doWait(long p1,
long p2)
|
String |
getMaskSchedule()
|
String |
getMonthValue(String strMonth)
|
ConnectorInterface |
getNextClient()
Server mode - return a clone of self that handles the next client instance when running in server mode. |
Entry |
getNextEntry()
Returns the next Entry from the connector. |
String |
getVersion()
Return version information |
String |
getWeekValue(String strWeekDay)
|
void |
initialize(Object o)
Initialize the connector. |
void |
selectEntries()
Prepare the Connector for sequential read. |
void |
setNextEntry(Entry e)
|
boolean |
sleepSeconds(long p1)
|
void |
validSchedule(String[] checkTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
---|
deleteEntry, findEntry, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminate, terminateServer |
Constructor Detail |
---|
public TimerConnector()
Method Detail |
---|
public void selectEntries() throws Exception
Connector
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
Exception
public void initialize(Object o) throws Exception
Connector
initialize
in interface ConnectorInterface
initialize
in class Connector
o
- User provided parameter
Exception
public void setNextEntry(Entry e)
public Entry getNextEntry() throws Exception
Connector
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
Exception
Connector.selectEntries()
public ConnectorInterface getNextClient() throws Exception
Connector
getNextClient
in interface ConnectorInterface
getNextClient
in class Connector
Exception
public void checkDay(String month, int dateNum, String[] checkTime) throws Exception
Exception
public void checkDate(String[] checkTime, int dateNum, int whichDate) throws Exception
Exception
public void validSchedule(String[] checkTime) throws Exception
Exception
public void calcNextRun() throws Exception
Exception
public void doWait(long p1, long p2) throws InterruptedException
InterruptedException
public boolean sleepSeconds(long p1)
public String getMaskSchedule()
public String getMonthValue(String strMonth)
public String getWeekValue(String strWeekDay)
public String getVersion()
getVersion
in interface VersionInfoInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |