|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Processor
The interface of a processor in a Nenok federation.
Method Summary | |
---|---|
void |
delete(DefaultLocator loc)
Deletes a stored valuation from this processor. |
Locator |
execute(Task task)
Executes a given task on this processor. |
boolean |
exists(net.jini.id.Uuid envID)
Is the valuation with the given envelope ID stored on this processor. |
String |
getCodebase()
|
net.jini.id.Uuid |
getPID()
|
void |
reset()
Deletes all stored valuations. |
Valuation |
retrieve(DefaultLocator loc)
Retrieves a stored valuation from this processor. |
Locator |
store(Envelope env)
Stores a valuation wrapped in an envelope on this processor. |
Locator |
store(Valuation val)
Stores a valuation on this processor. |
Locator[] |
store(Valuation[] vals)
Stores a set of valuations on this processor. |
Method Detail |
---|
Locator store(Envelope env) throws RemoteException
env
- The envelope with the valuation to store.
RemoteException
- Locator methods all throw remote exceptions.Locator store(Valuation val) throws RemoteException
val
- The valuation to store.
RemoteException
- Locator methods all throw remote exceptions.Locator[] store(Valuation[] vals) throws RemoteException
vals
- The valuations to store.
RemoteException
- Locator methods all throw remote exceptions.Valuation retrieve(DefaultLocator loc) throws RemoteException
loc
- The locator identifying the valuation.
RemoteException
- Locator methods all throw remote exceptions.boolean exists(net.jini.id.Uuid envID) throws RemoteException
envID
- The valuation's envelope ID.
true
, if the valuation exists.
RemoteException
- Locator methods all throw remote exceptions.void delete(DefaultLocator loc) throws RemoteException
loc
- The locator referencing the valuation to delete.
RemoteException
- Locator methods all throw remote exceptions.void reset() throws RemoteException
RemoteException
- Locator methods all throw remote exceptions.Locator execute(Task task) throws RemoteException, VAException
task
- The task to execute.
RemoteException
- Locator methods all throw remote exceptions.
VAException
- Exception caused by undefined valuation algera operations.net.jini.id.Uuid getPID() throws RemoteException
RemoteException
- Locator methods all throw remote exceptions.String getCodebase() throws RemoteException
RemoteException
- Locator methods all throw remote exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |