From d479253768d296a40b4f699e1de9b03c7146a97a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 3 Dec 2013 14:03:28 -0800 Subject: Adding javadocs and Carbonado User Guide --- .../carbonado/capability/RemoteProcedure.Call.html | 383 +++++++++++++++++++++ 1 file changed, 383 insertions(+) create mode 100644 apidocs/com/amazon/carbonado/capability/RemoteProcedure.Call.html (limited to 'apidocs/com/amazon/carbonado/capability/RemoteProcedure.Call.html') diff --git a/apidocs/com/amazon/carbonado/capability/RemoteProcedure.Call.html b/apidocs/com/amazon/carbonado/capability/RemoteProcedure.Call.html new file mode 100644 index 0000000..f4dd965 --- /dev/null +++ b/apidocs/com/amazon/carbonado/capability/RemoteProcedure.Call.html @@ -0,0 +1,383 @@ + + + + + + +RemoteProcedure.Call (Carbonado 1.2.3 API) + + + + + + + +
+ + + + + +
+ + + +
+
com.amazon.carbonado.capability
+

Interface RemoteProcedure.Call<R,D>

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidexecute() +
      Executes the call without expecting a reply.
      +
      voidexecuteAsync() +
      Executes the call without expecting a reply.
      +
      Cursor<R>fetchReply() +
      Executes the call and receive a reply.
      +
      voidflush() +
      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.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + + + + + + + +
        +
      • +

        sendAll

        +
        RemoteProcedure.Call<R,D> sendAll(java.lang.Iterable<? extends D> iterable)
        +                                  throws RepositoryException
        +
        Send all data from the given iterable to the remote procedure.
        +
        Returns:
        this Call instance
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if data is null
        +
        java.lang.IllegalStateException - if a call has been executed
        +
        RepositoryException
        +
      • +
      + + + +
        +
      • +

        sendAll

        +
        RemoteProcedure.Call<R,D> sendAll(Cursor<? extends D> cursor)
        +                                  throws RepositoryException
        +
        Send all data from the given cursor to the remote procedure.
        +
        Returns:
        this Call instance
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if data is null
        +
        java.lang.IllegalStateException - if a call has been executed
        +
        RepositoryException
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        fetchReply

        +
        Cursor<R> fetchReply()
        +                     throws RepositoryException
        +
        Executes the call and receive a reply. Calling this method does not + block, but methods on the returned Cursor may block waiting for + data.
        +
        Throws:
        +
        java.lang.IllegalStateException - if a call has been executed
        +
        RepositoryException
        +
      • +
      + + + +
        +
      • +

        execute

        +
        void execute()
        +             throws RepositoryException
        +
        Executes the call without expecting a reply. Method blocks waiting + for procedure to finish.
        +
        Throws:
        +
        java.lang.IllegalStateException - if a call has been executed
        +
        RepositoryException
        +
      • +
      + + + +
        +
      • +

        executeAsync

        +
        void executeAsync()
        +                  throws RepositoryException
        +
        Executes the call without expecting a reply. Method does not block + waiting for procedure to finish. Asynchronous execution is not + allowed if the current thread is in a transaction. This is because + transaction ownership becomes ambiguous.
        +
        Throws:
        +
        java.lang.IllegalStateException - if a call has been executed or if + current thread is in a transaction
        +
        RepositoryException
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + +

Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.

+ + -- cgit v1.2.3