[58/62] [abbrv] incubator-geode git commit: GEODE-268: Adding explanation to OperationContext.isClientUpdate()
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 Authored: Mon Nov 23 12:23:08 2015 -0800 Committer: Dan Smith 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 getOperationCode() returns true: + * isPut(), isPutAll(), isDestroy(), isRemoveAll(), + * isInvalidate(), isRegionCreate(), isRegionClear(), isRegionDestroy(). + * Otherwise, returns false. * * @since 6.6 */
[58/61] [abbrv] incubator-geode git commit: GEODE-268: Adding explanation to OperationContext.isClientUpdate()
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-831 Commit: 99e4aaf450ef8f9e25f5755d03dc73d73085200c Parents: 28f5391 Author: Dave Barnes Authored: Mon Nov 23 12:23:08 2015 -0800 Committer: Dan Smith 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 getOperationCode() returns true: + * isPut(), isPutAll(), isDestroy(), isRemoveAll(), + * isInvalidate(), isRegionCreate(), isRegionClear(), isRegionDestroy(). + * Otherwise, returns false. * * @since 6.6 */
incubator-geode git commit: GEODE-268: Adding explanation to OperationContext.isClientUpdate()
Repository: incubator-geode Updated Branches: refs/heads/develop 28f5391aa -> 99e4aaf45 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/develop Commit: 99e4aaf450ef8f9e25f5755d03dc73d73085200c Parents: 28f5391 Author: Dave Barnes Authored: Mon Nov 23 12:23:08 2015 -0800 Committer: Dan Smith 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 getOperationCode() returns true: + * isPut(), isPutAll(), isDestroy(), isRemoveAll(), + * isInvalidate(), isRegionCreate(), isRegionClear(), isRegionDestroy(). + * Otherwise, returns false. * * @since 6.6 */