public interface BulkAsynchACC extends RootACC
Modifier and Type | Method and Description |
---|---|
java.util.List<TucsonOpCompletionEvent> |
getCompletionEventsList() |
ITucsonOperation |
inAll(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
Withdraws from the space all the tuples matching the given template in
one shot (a single transition step).
|
ITucsonOperation |
noAll(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
Checks absence from the space of any tuples matching the given template
in one shot (a single transition step).
|
ITucsonOperation |
outAll(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
Inject in the space a list of tuples in one shot (a single transition
step).
|
ITucsonOperation |
rdAll(TupleCentreId tid,
Tuple tuple,
TucsonOperationCompletionListener l)
Reads from the space all the tuples matching the given template in one
shot (a single transition step).
|
exit, getPendingOperationsMap
java.util.List<TucsonOpCompletionEvent> getCompletionEventsList()
ITucsonOperation inAll(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
tid
- the TupleCentreId of the target tuple centretuple
- the tuple template to be used to retrieve tuplesl
- who to notify upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct
ITucsonOperation noAll(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
no
primitive. In case of failure,
all the tuples matching the template are returned (with no
only one non-deterministically selected is returned).tid
- the TupleCentreId of the target tuple centretuple
- the tuple template to be used to check absencel
- who to notify upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct
ITucsonOperation outAll(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
tid
- the TupleCentreId of the target tuple centretuple
- the list of tuples to inject (must be a Prolog list)l
- who to notify upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct
ITucsonOperation rdAll(TupleCentreId tid, Tuple tuple, TucsonOperationCompletionListener l) throws TucsonOperationNotPossibleException, UnreachableNodeException
tid
- the TupleCentreId of the target tuple centretuple
- the tuple template to be used to observe tuplesl
- who to notify upon operation completionTucsonOperationNotPossibleException
- if the requested operation cannot be carried outUnreachableNodeException
- if the target tuple centre is not reachable over the networkTupleCentreId
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct