ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #ignite-758: fix javadoc in CacheProjectionContext.
Date Thu, 16 Apr 2015 09:55:27 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-758 5911f39d1 -> 057afc3f2


#ignite-758: fix javadoc in CacheProjectionContext.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/057afc3f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/057afc3f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/057afc3f

Branch: refs/heads/ignite-758
Commit: 057afc3f2649e09085ab49b0e012012e9e00b5e4
Parents: 5911f39
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Thu Apr 16 12:55:20 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Thu Apr 16 12:55:20 2015 +0300

----------------------------------------------------------------------
 .../cache/CacheProjectionContext.java           | 33 ++++++++++++++++----
 1 file changed, 27 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/057afc3f/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjectionContext.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjectionContext.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjectionContext.java
index f8cefda..d4231eb 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjectionContext.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheProjectionContext.java
@@ -87,7 +87,11 @@ public class CacheProjectionContext implements Serializable {
         return !keepPortable;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * See {@link InternalCache#keepPortable()}.
+     *
+     * @return New instance of CacheProjectionContext with keep portable flag.
+     */
     public CacheProjectionContext keepPortable() {
         return new CacheProjectionContext(
             skipStore,
@@ -105,7 +109,11 @@ public class CacheProjectionContext implements Serializable {
         return subjId;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * See {@link InternalCache#forSubjectId(UUID)}.
+     *
+     * @return New instance of CacheProjectionContext with specific subject id.
+     */
     public CacheProjectionContext forSubjectId(UUID subjId) {
         A.notNull(subjId, "subjId");
 
@@ -116,12 +124,18 @@ public class CacheProjectionContext implements Serializable {
             expiryPlc);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * @return Skip store.
+     */
     public boolean skipStore() {
         return skipStore;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * See {@link InternalCache#setSkipStore(boolean)}.
+     *
+     * @return New instance of CacheProjectionContext with skip store flag.
+     */
     public CacheProjectionContext setSkipStore(boolean skipStore) {
         return new CacheProjectionContext(
             skipStore,
@@ -130,12 +144,19 @@ public class CacheProjectionContext implements Serializable {
             expiryPlc);
     }
 
-    /** {@inheritDoc} */
+    /**
+     * @return {@link ExpiryPolicy} associated with this projection.
+     */
     @Nullable public ExpiryPolicy expiry() {
         return expiryPlc;
     }
 
-    /** {@inheritDoc} */
+    /**
+     * See {@link InternalCache#withExpiryPolicy(ExpiryPolicy)}.
+     *
+     * @param plc {@link ExpiryPolicy} to associate with this projection.
+     * @return New instance of CacheProjectionContext with skip store flag.
+     */
     public CacheProjectionContext withExpiryPolicy(ExpiryPolicy plc) {
         return new CacheProjectionContext(
             skipStore,


Mime
View raw message