|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Rule<E>
A rule is used to define operations, and can be executed by invoking
call directly or using any objects that supports the
Callable interface. The rule can always be cancelled based on
its Futore.
| Method Summary | |
|---|---|
void |
attach(E o)
Attach a E to this rule. |
E |
attachement()
Return the current attachement |
void |
cancel()
Cancel execution of this rule. |
int |
getExecutionTime()
Return the time in second before this rule will be executed. |
void |
setExecutionTime(int time)
Set the interval in seconds to wait before executing this rule. |
void |
setFuture(Future future)
Set the Future associated with this execution of this rule. |
| Methods inherited from interface java.util.concurrent.Callable |
|---|
call |
| Method Detail |
|---|
void attach(E o)
E to this rule.
E attachement()
void cancel()
void setFuture(Future future)
Future associated with this execution of this rule.
void setExecutionTime(int time)
int getExecutionTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||