null if there is currently is none. Matching is and timeout done as for read, except that blocking in this call is done only if necessary to wait for transactional state to settle.
@param tmpl The template used for matching. Matching isdone against tmpl with null fields being wildcards ("match anything") other fields being values ("match exactly on the serialized form").
@param txn The transaction (if any) under which to work.
@param timeout How long the client is willing to wait for atransactionally proper matching entry. A timeout of NO_WAIT means to wait no time at all; this is equivalent to a wait of zero.
@return the entry taken from the space
@throws UnusableEntryException if any serialized field of the entry being read cannot be deserialized for any reason
@throws TransactionException if a transaction error occurs
@throws InterruptedException if the thread in which the takeoccurs is interrupted
@throws RemoteException if a communication error occurs
@throws IllegalArgumentException if a negative timeout value is used
@see #read
| |
| |