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 executedRepositoryException
RemoteProcedure.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 executedRepositoryException
RemoteProcedure.Call<R,D> sendAll(Cursor<? extends D> cursor) throws RepositoryException
java.lang.IllegalArgumentException
- if data is nulljava.lang.IllegalStateException
- if a call has been executedRepositoryException
RemoteProcedure.Call<R,D> reset() throws RepositoryException
java.lang.IllegalStateException
- if a call has been executedRepositoryException
void flush() throws RepositoryException
RepositoryException
Cursor<R> fetchReply() throws RepositoryException
java.lang.IllegalStateException
- if a call has been executedRepositoryException
void execute() throws RepositoryException
java.lang.IllegalStateException
- if a call has been executedRepositoryException
void executeAsync() throws RepositoryException
java.lang.IllegalStateException
- if a call has been executed or if
current thread is in a transactionRepositoryException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.