public interface RemoteProcedureCapability extends Capability
Examples:
RemoteProcedureCapability cap = ... Cursor<MyRecord> c1 = cap.beginCall(new CustomQuery<MyRecord>(params)).fetchReply(); ... Cursor<InputRecord> c2 = ... cap.beginCall(new Importer<InputRecord>()).sendAll(c2).finish();
RemoteProcedure
Modifier and Type | Method and Description |
---|---|
<R,D> RemoteProcedure.Call<R,D> |
beginCall(RemoteProcedure<R,D> proc)
Begins a call to execute the given procedure on a remote host.
|
<R,D> RemoteProcedure.Call<R,D> beginCall(RemoteProcedure<R,D> proc) throws RepositoryException
R
- reply object typeD
- request data object typeproc
- procedure to executeRepositoryException
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.