|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.server.AssemblyLineComponent
com.ibm.di.server.CSDeltaTaskComponent
public class CSDeltaTaskComponent
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
|---|
addmap, CHECKPOINT_GETS, config, connConfig, connector, connPool, handler, imap, INITIALIZE, log, modmap, name, parent, pooledConnector, restartCycle, reusingConnector, SELECT, stats |
| Constructor Summary | |
|---|---|
CSDeltaTaskComponent(AssemblyLine parent,
String name,
ConnectorConfig config,
ConnectorInterface conn,
boolean isRestarting)
|
|
CSDeltaTaskComponent(AssemblyLine parent,
String name,
ConnectorConfig config,
ConnectorInterface conn,
boolean isRestarting,
boolean forceRuntime)
|
|
| Method Summary | |
|---|---|
void |
commitDeltaState()
Commit the last transactions in CloudScape database |
void |
commitOnEndIter()
Commit if in commit mode "On end of AL cycle" |
static boolean |
deltaEnabled(ConnectorConfig config)
|
void |
doConnectorTerminate()
This method calls the appropriate hooks and the connector's terminate method. |
Entry |
getnext()
The method returns the next entry from the connector. |
Entry |
getnext(Entry work)
The method returns the next entry from the connector. |
Entry |
getRestartInfoEntry()
This method returns the connector's restart info entry. |
boolean |
markEntryInDeltaStore(Entry work)
Marks an Entry in the Delta Store. |
Entry |
nextDeletedEntry(Entry work)
Return the next deleted entry |
void |
rollbackDeltaState()
Rollback the last transactions in CloudScape database |
void |
saveDeltaState()
Commit the last transactions in CloudScape database (alias for commitDeltaState) |
void |
setRestartInfoEntry(ALState state,
Entry rsi,
int restartPoint)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSDeltaTaskComponent(AssemblyLine parent,
String name,
ConnectorConfig config,
ConnectorInterface conn,
boolean isRestarting)
throws Exception
Exception
public CSDeltaTaskComponent(AssemblyLine parent,
String name,
ConnectorConfig config,
ConnectorInterface conn,
boolean isRestarting,
boolean forceRuntime)
throws Exception
Exception| Method Detail |
|---|
public static boolean deltaEnabled(ConnectorConfig config)
public void doConnectorTerminate()
throws Exception
doConnectorTerminate in class AssemblyLineComponentException
public Entry getnext()
throws Exception
AssemblyLineComponent
getnext in class AssemblyLineComponentException - Errors that may occur
public Entry getnext(Entry work)
throws Exception
AssemblyLineComponent
getnext in class AssemblyLineComponentwork - The work entry to fill in
Exception - Errors that may occur
public Entry nextDeletedEntry(Entry work)
throws Exception
Exception
public Entry getRestartInfoEntry()
throws Exception
getRestartInfoEntry in class AssemblyLineComponentException
public void setRestartInfoEntry(ALState state,
Entry rsi,
int restartPoint)
throws Exception
setRestartInfoEntry in class AssemblyLineComponentException
public void commitDeltaState()
throws SQLException
SQLException - Thrown if an error occurs
public void rollbackDeltaState()
throws SQLException
SQLException - Thrown if an error occursmarkEntryInDeltaStore( Entry )
public void saveDeltaState()
throws SQLException
SQLException - Thrown if an error occurs
public void commitOnEndIter()
throws SQLException
SQLException - Thrown if an error occurspublic boolean markEntryInDeltaStore(Entry work)
MyIterator.rollbackDeltaState(); MyIterator.markEntryInDeltaStore(work); MyIterator.commitDeltaState();
work - The Entry that contains the key information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||