|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshocks.framework.workflow.sequence.repository.SequenceVersionCache
Constructor Summary | |
SequenceVersionCache(Workflow sequence)
|
Method Summary | |
void |
add(Workflow sequence)
Adds a workflow instance to the SequenceInstancePool provided there is no sequence existing with the same or lesser version. |
Workflow |
lease()
Get the instance pool with the most recent version and return a readied Workflow component. |
void |
release(Workflow sequence)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SequenceVersionCache(Workflow sequence)
Method Detail |
public Workflow lease()
public void add(Workflow sequence)
sequence
- to be added to the repositorypublic void release(Workflow sequence)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |