geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jensde...@apache.org
Subject [58/62] [abbrv] incubator-geode git commit: GEODE-268: Adding explanation to OperationContext.isClientUpdate()
Date Thu, 11 Feb 2016 15:27:22 GMT
GEODE-268: Adding explanation to OperationContext.isClientUpdate()

This closes #43


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

Branch: refs/heads/feature/GEODE-17
Commit: 99e4aaf450ef8f9e25f5755d03dc73d73085200c
Parents: 28f5391
Author: Dave Barnes <dbarnes@pivotal.io>
Authored: Mon Nov 23 12:23:08 2015 -0800
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Tue Feb 9 22:52:15 2016 -0800

----------------------------------------------------------------------
 .../gemstone/gemfire/cache/operations/OperationContext.java    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/99e4aaf4/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/OperationContext.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/OperationContext.java
b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/OperationContext.java
index ab9b442..5cae85d 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/OperationContext.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/cache/operations/OperationContext.java
@@ -481,7 +481,11 @@ public abstract class OperationContext {
   public abstract boolean isPostOperation();
 
   /**
-   * True if the context is created before sending the updates to a client.
+   * When called post-operation, returns true if the operation was one that performed an
update.
+   * An update occurs when one of the following methods on <code>getOperationCode()</code>
returns true:
+   * <code>isPut()</code>, <code>isPutAll()</code>, <code>isDestroy()</code>,
<code>isRemoveAll()</code>,
+   * <code>isInvalidate()</code>, <code>isRegionCreate()</code>,
<code>isRegionClear()</code>, <code>isRegionDestroy()</code>.
+   * Otherwise, returns false.
    * 
    * @since 6.6
    */


Mime
View raw message