public interface UniformSynchACC extends RootACC
Modifier and Type | Method and Description |
---|---|
ITucsonOperation |
uin(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
uin TuCSoN primitive, retrieves the specified tuple from the
given target tuplecentre. |
ITucsonOperation |
uinp(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
uinp TuCSoN primitive, retrieves the specified tuple from
the given target tuplecentre. |
ITucsonOperation |
uno(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
uno TuCSoN primitive, checks absence of the specified tuple
in the given target tuplecentre. |
ITucsonOperation |
unop(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
unop TuCSoN primitive, checks absence of the specified tuple
in the given target tuplecentre. |
ITucsonOperation |
urd(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
urd TuCSoN primitive, reads (w/o removing) the specified
tuple from the given target tuplecentre. |
ITucsonOperation |
urdp(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
urdp TuCSoN primitive, reads (w/o removing) the specified
tuple from the given target tuplecentre. |
exit, getPendingOperationsMap
ITucsonOperation uin(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
uin
TuCSoN primitive, retrieves the specified tuple from the
given target tuplecentre. If more than one tuple matches the template,
Linda's non-deterministic selection is replaced by PROBABILISTIC,
UNIFORMLY DISTRIBUTED selection: the more a tuple is present, the more
likely it will be returned.
Notice that the primitive semantics is SUSPENSIVE: until no tuple is
found to match the given template, no success completion answer is
forwarded to the TuCSoN Agent exploiting this ACC, which then is blocked
waiting.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be retrieved from the target tuplecentretimeout
- the maximum waiting time for completion tolerated by the
TuCSoN agent behind this ACC. Notice that reaching the timeout
just unblocks the agent, but the request IS NOT REMOVED from
TuCSoN node pending requests (will still be served at sometime
in the future).TucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionTupleCentreId
,
ITucsonOperation
ITucsonOperation uinp(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
uinp
TuCSoN primitive, retrieves the specified tuple from
the given target tuplecentre. If more than one tuple matches the
template, Linda's non-deterministic selection is replaced by
PROBABILISTIC, UNIFORMLY DISTRIBUTED selection: the more a tuple is
present, the more likely it will be returned.
This time the primitive semantics is NOT SUSPENSIVE: if no tuple is found
to match the given template, a failure completion answer is forwarded to
the TuCSoN Agent exploiting this ACC.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be retrieved from the target tuplecentretimeout
- the maximum waiting time for completion tolerated by the
TuCSoN agent behind this ACC. Notice that reaching the timeout
just unblocks the agent, but the request IS NOT REMOVED from
TuCSoN node pending requests (will still be served at sometime
in the future).TucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionTupleCentreId
,
ITucsonOperation
ITucsonOperation uno(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
uno
TuCSoN primitive, checks absence of the specified tuple
in the given target tuplecentre. If more than one tuple matches the
template, Linda's non-deterministic selection is replaced by
PROBABILISTIC, UNIFORMLY DISTRIBUTED selection: the more a tuple is
present, the more likely it will be returned.
Notice that the primitive semantics is SUSPENSIVE: until any tuple is
found to match the given template, no success completion answer is
forwarded to the TuCSoN Agent exploiting this ACC, which then is blocked
waiting.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be checked for absence from the target
tuplecentretimeout
- the maximum waiting time for completion tolerated by the
TuCSoN agent behind this ACC. Notice that reaching the timeout
just unblocks the agent, but the request IS NOT REMOVED from
TuCSoN node pending requests (will still be served at sometime
in the future).TucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionTupleCentreId
,
ITucsonOperation
ITucsonOperation unop(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
unop
TuCSoN primitive, checks absence of the specified tuple
in the given target tuplecentre. If more than one tuple matches the
template, Linda's non-deterministic selection is replaced by
PROBABILISTIC, UNIFORMLY DISTRIBUTED selection: the more a tuple is
present, the more likely it will be returned.
This time the primitive semantics is NOT SUSPENSIVE: if any tuple is
found to match the given template, a failure completion answer is
forwarded to the TuCSoN Agent exploiting this ACC.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be checked for absence from the target
tuplecentretimeout
- the maximum waiting time for completion tolerated by the
TuCSoN agent behind this ACC. Notice that reaching the timeout
just unblocks the agent, but the request IS NOT REMOVED from
TuCSoN node pending requests (will still be served at sometime
in the future).TucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionTupleCentreId
,
ITucsonOperation
ITucsonOperation urd(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
urd
TuCSoN primitive, reads (w/o removing) the specified
tuple from the given target tuplecentre. If more than one tuple matches
the template, Linda's non-deterministic selection is replaced by
PROBABILISTIC, UNIFORMLY DISTRIBUTED selection: the more a tuple is
present, the more likely it will be returned.
Notice that the primitive semantics is SUSPENSIVE: until no tuple is
found to match the given template, no success completion answer is
forwarded to the TuCSoN Agent exploiting this ACC, which then is blocked
waiting.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be read from the target tuplecentretimeout
- the maximum waiting time for completion tolerated by the
TuCSoN agent behind this ACC. Notice that reaching the timeout
just unblocks the agent, but the request IS NOT REMOVED from
TuCSoN node pending requests (will still be served at sometime
in the future).TucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionTupleCentreId
,
ITucsonOperation
ITucsonOperation urdp(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
urdp
TuCSoN primitive, reads (w/o removing) the specified
tuple from the given target tuplecentre. If more than one tuple matches
the template, Linda's non-deterministic selection is replaced by
PROBABILISTIC, UNIFORMLY DISTRIBUTED selection: the more a tuple is
present, the more likely it will be returned.
This time the primitive semantics is NOT SUSPENSIVE: if no tuple is found
to match the given template, a failure completion answer is forwarded to
the TuCSoN Agent exploiting this ACC.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be read from the target tuplecentretimeout
- the maximum waiting time for completion tolerated by the
TuCSoN agent behind this ACC. Notice that reaching the timeout
just unblocks the agent, but the request IS NOT REMOVED from
TuCSoN node pending requests (will still be served at sometime
in the future).TucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkOperationTimeOutException
- if the operation timeout expired prior to operation
completionTupleCentreId
,
ITucsonOperation