|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Executor's service interface. It defines methods for:
Nested Class Summary | |
static class |
Executor.MarshaledOX
|
static interface |
Executor.Migrable
|
static interface |
Executor.SchedulingHeuristic
|
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
void |
activateObject(Executor.MarshaledOX oxState)
Describe activateObject method here. |
ObjectSeed.ObjectHandle |
createObject(ApplicationId app,
java.lang.Class c,
java.lang.Object[] p,
ObjectSeed.Activator a,
java.lang.Object hint)
Describe createObject method here. |
ApplicationId |
currentApplication()
Describe currentApplication method here. |
void |
deactivateObject(ObjectId ox,
Executor.MarshaledOX oxState)
Describe deactivateObject method here. |
void |
exitApplication()
Describe exitApplication method here. |
void |
moveObject(ObjectId ox,
java.lang.Object placementHint)
Describe moveObject method here. |
void |
runAction(ApplicationId app,
java.lang.Runnable action)
Describe runAction method here. |
void |
setHeuristic(Executor.SchedulingHeuristic sh)
Deprecated. As an application attribute, the sche-heuristic is going to be configured through the application launching descriptor, but this feature is not yet implemented. |
void |
startApplication(org.isam.util.xml.XmlElement launchingDesc)
Describe startApplication method here.
|
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public ObjectSeed.ObjectHandle createObject(ApplicationId app, java.lang.Class c, java.lang.Object[] p, ObjectSeed.Activator a, java.lang.Object hint)
createObject
method here.
c
- a Class
valuep
- an Object[]
valuea
- an Activator
valuehint
- an Object
value
ObjectId
valuepublic void moveObject(ObjectId ox, java.lang.Object placementHint)
moveObject
method here.
ox
- an ObjectId
valueplacementHint
- an Object
valuepublic void deactivateObject(ObjectId ox, Executor.MarshaledOX oxState)
deactivateObject
method here.
ox
- an ObjectId
valueoxState
- a MarshaledOX
valuepublic void activateObject(Executor.MarshaledOX oxState)
activateObject
method here.
oxState
- a MarshaledOX
valuepublic void startApplication(org.isam.util.xml.XmlElement launchingDesc)
startApplication
method here.
TODO: change parameter type to String
launchingDesc
- a XmlDocument
valuepublic void exitApplication()
exitApplication
method here.
public ApplicationId currentApplication()
currentApplication
method here.
ApplicationId
valuepublic void runAction(ApplicationId app, java.lang.Runnable action)
runAction
method here.
app
- an ApplicationId
valueaction
- a Runnable
valuepublic void setHeuristic(Executor.SchedulingHeuristic sh)
sh
- a SchedulingHeuristic
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |