public interface UniformAsynchACC extends RootACC
Modifier and Type | Method and Description |
---|---|
java.util.List<TucsonOpCompletionEvent> |
getCompletionEventsList() |
ITucsonOperation |
uin(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
uin TuCSoN primitive, retrieves the specified tuple from the
given target tuplecentre. |
ITucsonOperation |
uinp(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
uinp TuCSoN primitive, retrieves the specified tuple in the
given target tuplecentre. |
ITucsonOperation |
uno(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
uno TuCSoN primitive, checks absence of the specified tuple
in the given target tuplecentre. |
ITucsonOperation |
unop(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
unop TuCSoN primitive, checks absence of the specified tuple
in the given target tuplecentre. |
ITucsonOperation |
urd(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
urd TuCSoN primitive, reads (w/o removing) the specified
tuple from the given target tuplecentre. |
ITucsonOperation |
urdp(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
urdp TuCSoN primitive, reads (w/o removing) the specified
tuple in the given target tuplecentre. |
exit, getPendingOperationsMap
java.util.List<TucsonOpCompletionEvent> getCompletionEventsList()
ITucsonOperation uin(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
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 still SUSPENSIVE: until no tuple
is found to match the given template, no success completion answer is
forwarded to the TuCSoN Agent exploiting this ACC, but thanks to
asynchronous behaviour the TuCSoN Agent could do something else instead
of getting stuck.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be retrieved from the target tuplecentrel
- the listener who should be notified upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
ITucsonOperation uinp(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
uinp
TuCSoN primitive, retrieves 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 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 tuplecentrel
- the listener who should be notified upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
ITucsonOperation uno(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
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 still SUSPENSIVE: until any tuple
is found to match the given template, no success completion answer is
forwarded to the TuCSoN Agent exploiting this ACC, but thanks to
asynchronous behaviour TuCSoN Agent could do something else instead of
getting stuck.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be checked for absence from the target
tuplecentrel
- the listener who should be notified upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
ITucsonOperation unop(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
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 a 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
tuplecentrel
- the listener who should be notified upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
ITucsonOperation urd(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
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 still SUSPENSIVE: until no tuple
is found to match the given template, no success completion answer is
forwarded to the TuCSoN Agent exploiting this ACC, but thanks to
asynchronous behaviour the TuCSoN Agent could do something else instead
of getting stuck.tid
- the target TuCSoN tuplecentre id
tid
tuple
- the tuple to be read from the target tuplecentrel
- the listener who should be notified upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
ITucsonOperation urdp(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
urdp
TuCSoN primitive, reads (w/o removing) 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 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 tuplecentrel
- the listener who should be notified upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation