|
|||||||||||
| 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.EndLoopComponent
public class EndLoopComponent
This class is used by the Assemblyline to mark the end of a loop
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
|---|
addmap, CHECKPOINT_GETS, config, connConfig, connector, connPool, END_OF_DATA, handler, HOOKS_INVOKED, imap, INITIALIZE, initializeCount, LAST_CONN, LAST_ERROR, log, modmap, name, NUM_ADD, NUM_CALLREPLY, NUM_DELETE, NUM_ERRORS, NUM_GET, NUM_GET_TRIES, NUM_GETCLIENT, NUM_GETCLIENT_TRIES, NUM_IGNORED, NUM_LOOKUP, NUM_MODIFY, NUM_NOCHANGE, NUM_SKIPPED, parent, pooledConnector, reusingConnector, SELECT, stats, SUCCESSFUL |
| Constructor Summary | |
|---|---|
EndLoopComponent(AssemblyLine parent,
LoopComponent loop)
This constructor is used to insert the EndLoop component in the AL |
|
| Method Summary | |
|---|---|
void |
add(Entry meta)
Tells the AssemblyLine to go back to the start of the loop |
void |
close()
Releases resources |
int |
getType()
Return the type of this component |
void |
handleException(String oper,
Throwable e,
Entry meta)
Handles Exceptions by rethrowing them |
void |
initialize()
This method does nothing. |
boolean |
trigger(String oper,
Entry work)
Calls Hooks. |
boolean |
trigger(String oper,
Entry work,
Entry conn)
Calls Hooks. |
boolean |
willExecute(Entry work)
This method always returns true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public EndLoopComponent(AssemblyLine parent,
LoopComponent loop)
parent - The AssemblyLine this EndLoopComponent is part ofloop - The LoopComponent that we end| Method Detail |
|---|
public void initialize()
initialize in class AssemblyLineComponentpublic boolean willExecute(Entry work)
willExecute in class AssemblyLineComponentwork - an Entry object
truepublic int getType()
getType in class AssemblyLineComponent
public void add(Entry meta)
throws Exception
add in class AssemblyLineComponentmeta - The work Entry. Ignored
Exception - if we cannot go back to the start of the loop
public void handleException(String oper,
Throwable e,
Entry meta)
throws Exception
handleException in class AssemblyLineComponentoper - Ignorede - The Throwable that is rethrownmeta - The work Entry. Ignored
Exception - e
public boolean trigger(String oper,
Entry work,
Entry conn)
trigger in class AssemblyLineComponentoper - a Srting for the operationwork - an Entry objectconn - an Entry object
false
public boolean trigger(String oper,
Entry work)
trigger in class AssemblyLineComponentoper - an Entry objectwork - an Entry object
false
public void close()
throws Exception
close in class AssemblyLineComponentException - if a problem occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||