geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upthewatersp...@apache.org
Subject [1/2] geode git commit: Updating javadocs for FunctionContext to indicate scope of ResultSender
Date Wed, 01 Feb 2017 22:28:04 GMT
Repository: geode
Updated Branches:
  refs/heads/develop e482b693c -> 87cef789c


Updating javadocs for FunctionContext to indicate scope of ResultSender

The result sender is not valid after the function is returned.


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/f73d2888
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/f73d2888
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/f73d2888

Branch: refs/heads/develop
Commit: f73d28884f4ee78e5c47f9baee5f3cae38b667cb
Parents: e482b69
Author: Dan Smith <upthewaterspout@apache.org>
Authored: Fri Jan 27 18:00:23 2017 -0800
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Wed Feb 1 14:20:17 2017 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/geode/cache/execute/FunctionContext.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/f73d2888/geode-core/src/main/java/org/apache/geode/cache/execute/FunctionContext.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/cache/execute/FunctionContext.java
b/geode-core/src/main/java/org/apache/geode/cache/execute/FunctionContext.java
index f09dcba..3389bb5 100755
--- a/geode-core/src/main/java/org/apache/geode/cache/execute/FunctionContext.java
+++ b/geode-core/src/main/java/org/apache/geode/cache/execute/FunctionContext.java
@@ -54,6 +54,9 @@ public interface FunctionContext {
    * Returns the ResultSender which is used to add the ability for an execute method to send
a
    * single result back, or break its result into multiple pieces and send each piece back
to the
    * calling thread's ResultCollector.
+   *
+   * The returned ResultSender is only valid for the duration of the function call. If the
Function
+   * needs to return a result, the result should be sent before the function exits.
    * 
    * @return ResultSender
    * @since GemFire 6.0


Mime
View raw message