All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.LazyEvaluator

java.lang.Object
   |
   +----JavaGroups.LazyEvaluator

public class LazyEvaluator
extends Object
implements Runnable
Allows to execute methods without the caller having to wait for the method return. Only one-way calls are allowed (return values will be discarded). A MethodCall and a target object are pushed onto a queue from which the LazyEvaluator removes entries on a first-come first-served basis and evaluates the method calls.

Method lookup can be tailored by supplying a method lookup class at creation time.


Constructor Index

 o LazyEvaluator()
 o LazyEvaluator(MethodLookup)

Method Index

 o Add(Object, MethodCall)
 o AddMultiple(Vector, MethodCall)
 o run()
 o Start()
 o Stop()

Constructors

 o LazyEvaluator
 public LazyEvaluator()
 o LazyEvaluator
 public LazyEvaluator(MethodLookup lookup)

Methods

 o Start
 public void Start()
 o Stop
 public void Stop()
 o Add
 public void Add(Object target,
                 MethodCall call)
 o AddMultiple
 public void AddMultiple(Vector targets,
                         MethodCall call)
 o run
 public void run()

All Packages  Class Hierarchy  This Package  Previous  Next  Index