R - reply object typeD - request data object typepublic static interface RemoteProcedure.Call<R,D>
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the call without expecting a reply.
|
void |
executeAsync()
Executes the call without expecting a reply.
|
Cursor<R> |
fetchReply()
Executes the call and receive a reply.
|
void |
flush()
Flushes all the data sent so far.
|
RemoteProcedure.Call<R,D> |
reset()
Reset the internal object stream of the call, allowing cached
objects to get freed.
|
RemoteProcedure.Call<R,D> |
send(D data)
Send data to the remote procedure.
|
RemoteProcedure.Call<R,D> |
sendAll(Cursor<? extends D> cursor)
Send all data from the given cursor to the remote procedure.
|
RemoteProcedure.Call<R,D> |
sendAll(java.lang.Iterable<? extends D> iterable)
Send all data from the given iterable to the remote procedure.
|
RemoteProcedure.Call<R,D> send(D data) throws RepositoryException
java.lang.IllegalArgumentException - if data is nulljava.lang.IllegalStateException - if a call has been executedRepositoryExceptionRemoteProcedure.Call<R,D> sendAll(java.lang.Iterable<? extends D> iterable) throws RepositoryException
java.lang.IllegalArgumentException - if data is nulljava.lang.IllegalStateException - if a call has been executedRepositoryExceptionRemoteProcedure.Call<R,D> sendAll(Cursor<? extends D> cursor) throws RepositoryException
java.lang.IllegalArgumentException - if data is nulljava.lang.IllegalStateException - if a call has been executedRepositoryExceptionRemoteProcedure.Call<R,D> reset() throws RepositoryException
java.lang.IllegalStateException - if a call has been executedRepositoryExceptionvoid flush()
throws RepositoryException
RepositoryExceptionCursor<R> fetchReply() throws RepositoryException
java.lang.IllegalStateException - if a call has been executedRepositoryExceptionvoid execute()
throws RepositoryException
java.lang.IllegalStateException - if a call has been executedRepositoryExceptionvoid executeAsync()
throws RepositoryException
java.lang.IllegalStateException - if a call has been executed or if
current thread is in a transactionRepositoryExceptionCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.