|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcascading.cascade.Cascade
public class Cascade
A Cascade is an assembly of Flow instances that share or depend the same Tap instances and are executed as
a single group. The most common case is where one Flow instance depends on a Tap created by a second Flow instance. This
dependency chain can continue as practical.
Tap is newer than
a subsequent sink Tap in the assembly, the connecting Flow(s) will be executed
when the Cascade executed. If all the targets (sinks) are up to date, the Cascade exits immediately and does nothing.
| Nested Class Summary | |
|---|---|
protected class |
Cascade.CascadeJob
Class CascadeJob manages Flow execution in the current Cascade instance. |
| Method Summary | |
|---|---|
void |
complete()
Method complete begins the current Cascade process if method start() was not previously called. |
CascadeStats |
getCascadeStats()
Method getCascadeStats returns the cascadeStats of this Cascade object. |
List<Flow> |
getFlows()
Method getFlows returns the flows managed by this Cascade object. |
String |
getName()
Method getName returns the name of this Cascade object. |
void |
run()
Method run implements the Runnable run method. |
void |
start()
Method start begins the current Cascade process. |
void |
stop()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getName()
public CascadeStats getCascadeStats()
public List<Flow> getFlows()
Flow instances
will be in topological order.
public void start()
complete() to block
until the Cascade completes.
public void complete()
start() was not previously called. This method
blocks until the process completes.
RuntimeException - wrapping any exception thrown internally.public void run()
run in interface Runnablepublic void stop()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||