|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.store.CheckpointRestart
public class CheckpointRestart
The CheckpointRestart class provides methods to store and retrieve java objects for use in a checkpoint/restart context. The class
Field Summary | |
---|---|
static String |
DEFAULT_CHECKPOINT_TABLE
|
Constructor Summary | |
---|---|
CheckpointRestart()
|
|
CheckpointRestart(String identifier,
Log log)
|
|
CheckpointRestart(String identifier,
Log log,
boolean initialize)
|
|
CheckpointRestart(String identifier,
Log log,
boolean initialize,
boolean create)
|
Method Summary | |
---|---|
void |
checkpointRSI(String src,
Entry rsi)
Checkpoints the restart-info object |
void |
checkpointState(ALState state)
Checkpoints the ALState object |
void |
checkpointTCB(TaskCallBlock tcb)
Checkpoints the TCB |
void |
checkpointWork(Entry work)
Checkpoints the work entry |
void |
close()
|
void |
commit()
Commits the checkpoint information |
void |
dropTable()
|
boolean |
exists()
|
ALState |
getALState()
Returns the old ALState object. |
Log |
getLog()
|
Entry |
getRSI(String src)
|
String |
getRSIID(String name)
Returns the connector RSI id |
TaskCallBlock |
getTCB(AssemblyLineConfig alc,
TaskInterface task)
|
Entry |
getUserEntry()
|
Entry |
getWorkEntry()
|
void |
initializeCheckpoint(String identifier,
Log log,
boolean initialize,
boolean create)
|
void |
initIdentifier()
Make sure we have the "master" row in our table |
void |
initUserEntry()
Create a slot for the user entry |
boolean |
isInitialized()
|
void |
setLog(Log log)
|
void |
setUserEntry(Entry e)
|
boolean |
wasCreated()
Returns true if the checkpoint table did not exist and was created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_CHECKPOINT_TABLE
Constructor Detail |
---|
public CheckpointRestart()
public CheckpointRestart(String identifier, Log log) throws Exception
Exception
public CheckpointRestart(String identifier, Log log, boolean initialize) throws Exception
Exception
public CheckpointRestart(String identifier, Log log, boolean initialize, boolean create) throws Exception
Exception
Method Detail |
---|
public void initializeCheckpoint(String identifier, Log log, boolean initialize, boolean create) throws Exception
Exception
public void dropTable() throws Exception
Exception
public boolean exists() throws Exception
Exception
public boolean wasCreated()
public void close()
public void initIdentifier() throws Exception
Exception
public String getRSIID(String name)
public void checkpointState(ALState state) throws Exception
Exception
public void checkpointWork(Entry work) throws Exception
Exception
public void checkpointRSI(String src, Entry rsi) throws Exception
Exception
public void checkpointTCB(TaskCallBlock tcb) throws Exception
Exception
public void commit() throws Exception
Exception
public ALState getALState()
public Entry getWorkEntry()
public TaskCallBlock getTCB(AssemblyLineConfig alc, TaskInterface task)
public Entry getRSI(String src) throws Exception
Exception
public void setLog(Log log)
public Log getLog()
public boolean isInitialized()
public void initUserEntry() throws Exception
Exception
public void setUserEntry(Entry e) throws Exception
Exception
public Entry getUserEntry() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |