|
|||||||||
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 | |
---|---|
Locator |
combine(Locator loc,
Locator... locs)
Combines the valuations specified by locators and stores the result. |
void |
delete(Locator loc)
Deletes a stored valuation from this processor. |
boolean |
exists(Uuid envID)
Is the valuation with the given envelope ID stored on this processor. |
Valuation |
get(Uuid envID)
Retrieves a stored valuation from this processor. |
String |
getCodebase()
|
Uuid |
getPID()
|
Locator |
inverse(Locator loc)
Inverses the valuations specified by the locator. |
Locator |
marginalize(Locator loc,
Domain dom)
Marginalizes the valuations specified by the locator to be given domain. |
void |
reset()
Deletes all stored valuations. |
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 get(Uuid envID) throws RemoteException
envID
- The identifier of the valuation's envelope.
RemoteException
- Locator methods all throw remote exceptions.boolean exists(Uuid envID) throws RemoteException
envID
- The valuation's envelope ID.
true
, if the valuation exists.
RemoteException
- Locator methods all throw remote exceptions.void delete(Locator 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 combine(Locator loc, Locator... locs) throws RemoteException
loc
- A locator object.locs
- Further locators that have to be combined.
RemoteException
- Locator methods all throw remote exceptions.Locator marginalize(Locator loc, Domain dom) throws RemoteException
loc
- The locator pointing to the valuation to be marginalized.dom
- The domain onto which the marginalization is performed.
RemoteException
- Locator methods all throw remote exceptions.Locator inverse(Locator loc) throws RemoteException
loc
- The locator pointing to the valuation to be inverted.
RemoteException
- Locator methods all throw remote exceptions.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 |