ajanta.pattern
Class SplitJoinAny

java.lang.Object
  |
  +--ajanta.pattern.Pattern
        |
        +--ajanta.pattern.PatternCollection
              |
              +--ajanta.pattern.Split
                    |
                    +--ajanta.pattern.SplitJoin
                          |
                          +--ajanta.pattern.SplitJoinAny
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SplitJoinAny
extends SplitJoin

It is a subclass of the abstract class SplitJoin.Here the parent waits only for the first child to return before it proceeds.

See Also:
SplitJoin, Serialized Form

Field Summary
 
Fields inherited from class ajanta.pattern.Split
childClassName, noOfChild
 
Fields inherited from class ajanta.pattern.PatternCollection
current, list
 
Fields inherited from class ajanta.pattern.Pattern
action, DONE, FAILED, NOTDONE, status
 
Constructor Summary
SplitJoinAny()
           
SplitJoinAny(java.lang.String className)
           
 
Method Summary
 int setCounter()
          Counter value is set to 2 ( one for child and one for the parent )
 
Methods inherited from class ajanta.pattern.SplitJoin
join, next
 
Methods inherited from class ajanta.pattern.Split
createAgent, reset, scan, setAgentResource
 
Methods inherited from class ajanta.pattern.PatternCollection
currentEntry, firstEntry, insert, print
 
Methods inherited from class ajanta.pattern.Pattern
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitJoinAny

public SplitJoinAny()

SplitJoinAny

public SplitJoinAny(java.lang.String className)
Method Detail

setCounter

public int setCounter()
Counter value is set to 2 ( one for child and one for the parent )

Specified by:
setCounter in class SplitJoin