com.japisoft.framework.job
Interface Job

All Superinterfaces:
java.lang.Runnable
All Known Subinterfaces:
HeavyJob, KnownJob
All Known Implementing Classes:
HeavyJobProxy, JobAdapter

public interface Job
extends java.lang.Runnable

This element is consummed by the JobManager

Version:
1.0
Author:
(c) 2003 JAPISOFT / Alexandre Brillant
See Also:
JobManager

Method Summary
 void dispose()
          Free inner resource
 java.lang.Object getSource()
           
 boolean isAlone()
           
 void stopIt()
          Stop the current job
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

isAlone

public boolean isAlone()
Returns:
true if the job must be alone. Meaning all queued Job for the same type will be killed

stopIt

public void stopIt()
Stop the current job


getSource

public java.lang.Object getSource()
Returns:
the invoker reference

dispose

public void dispose()
Free inner resource