|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.datamanager.kernel.Simpleton
A generic process to implement arbitrary entity and event manipulation.
Nested Class Summary | |
static class |
Simpleton.Information
Encapsulates information that describes a Simpleton. |
static class |
Simpleton.Priority
Encapsulates a Priority that can be used to control thread priority. |
Constructor Summary | |
Simpleton()
Creates a new Simpleton with Information set to Simpleton.Information.NONE. |
Method Summary | |
protected Object |
clone()
Clones this Simpleton. |
Simpleton.Information |
getInformation()
Reports Simpleton.Information about this Simpleton. |
Simpleton.Priority |
getPriority()
Gets the priority of this Simpleton. |
abstract void |
process()
Performs the work of this Simpleton. |
protected void |
setInformation(Simpleton.Information information)
Sets the Information object for this Simpleton. |
void |
setPriority(Simpleton.Priority priority)
Sets the priority of this Simpleton. |
void |
start()
Starts the Simpleton (with a possibly redundant setSimpleton invocation on this Simpleton's DatamanagerWorker thread). |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Simpleton()
Method Detail |
public void setPriority(Simpleton.Priority priority) throws DataManagerException
DataManagerException
public Simpleton.Priority getPriority() throws DataManagerException
DataManagerException
public void start()
protected void setInformation(Simpleton.Information information)
public Simpleton.Information getInformation()
public abstract void process()
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Object.clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |