|
|||||||||||
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 endMethod Detail |
---|
public void initialize()
initialize
in class AssemblyLineComponent
public boolean willExecute(Entry work)
willExecute
in class AssemblyLineComponent
work
- an Entry object
true
public int getType()
getType
in class AssemblyLineComponent
public void add(Entry meta) throws Exception
add
in class AssemblyLineComponent
meta
- The work Entry. Ignored
Exception
- if we cannot go back to the start of the looppublic void handleException(String oper, Throwable e, Entry meta) throws Exception
handleException
in class AssemblyLineComponent
oper
- Ignorede
- The Throwable that is rethrownmeta
- The work Entry. Ignored
Exception
- epublic boolean trigger(String oper, Entry work, Entry conn)
trigger
in class AssemblyLineComponent
oper
- a Srting for the operationwork
- an Entry objectconn
- an Entry object
false
public boolean trigger(String oper, Entry work)
trigger
in class AssemblyLineComponent
oper
- an Entry objectwork
- an Entry object
false
public void close() throws Exception
close
in class AssemblyLineComponent
Exception
- if a problem occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |