ajanta.pattern
Class SplitJoinAll

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

public class SplitJoinAll
extends SplitJoin

It is a subclass of the abstract class SplitJoin.Here the parent waits for all the child agents 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
SplitJoinAll()
           
SplitJoinAll(java.lang.String className)
           
 
Method Summary
 int setCounter()
          It sets counter value to size of list + 1
 
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

SplitJoinAll

public SplitJoinAll()

SplitJoinAll

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

setCounter

public int setCounter()
It sets counter value to size of list + 1

Specified by:
setCounter in class SplitJoin