public interface BulkSynchACC extends RootACC
Modifier and Type | Method and Description |
---|---|
ITucsonOperation |
inAll(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
Withdraws from the space all the tuples matching the given template in
one shot (a single transition step).
|
ITucsonOperation |
noAll(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
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,
java.lang.Long timeout)
Inject in the space a list of tuples in one shot (a single transition
step).
|
ITucsonOperation |
rdAll(TupleCentreId tid,
Tuple tuple,
java.lang.Long timeout)
Reads from the space all the tuples matching the given template in one
shot (a single transition step).
|
exit, getPendingOperationsMap
ITucsonOperation inAll(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
tid
- the TupleCentreId of the target tuple centretuple
- the tuple template to be used to retrieve tuplestimeout
- 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
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct
ITucsonOperation noAll(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
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 absencetimeout
- 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
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct
ITucsonOperation outAll(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
tid
- the TupleCentreId of the target tuple centretuple
- the list of tuples to inject (must be a Prolog list)timeout
- 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
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct
ITucsonOperation rdAll(TupleCentreId tid, Tuple tuple, java.lang.Long timeout) throws TucsonOperationNotPossibleException, UnreachableNodeException, OperationTimeOutException
tid
- the TupleCentreId of the target tuple centretuple
- the tuple template to be used to observe tuplestimeout
- 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
,
TucsonOperationCompletionListener
,
ITucsonOperation
,
Struct