ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [01/50] incubator-ignite git commit: # ignite-45 - javadoc fix.
Date Wed, 25 Mar 2015 04:18:30 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-496 39f9760bb -> 32f2c7551


# ignite-45 - javadoc fix.


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

Branch: refs/heads/ignite-496
Commit: 2fdb8c6ca67235df667394c088c3460edc8bc11a
Parents: 90b6303
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Tue Mar 24 02:07:13 2015 -0700
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Tue Mar 24 02:07:13 2015 -0700

----------------------------------------------------------------------
 .../apache/ignite/cache/affinity/CacheAffinity.java   | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2fdb8c6c/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java
b/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java
index 63e38e7..873daf1 100644
--- a/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java
+++ b/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java
@@ -205,15 +205,10 @@ public interface CacheAffinity<K> {
     /**
      * Gets primary and backup nodes for the key. Note that primary node is always
      * first in the returned collection.
-     * <p>
-     * If there are only cache nodes in the projection with
-     * {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()} property
set to {@code NEAR_ONLY}, then this
-     * method will return an empty collection.
      *
      * @param key Key to get affinity nodes for.
      * @return Collection of primary and backup nodes for the key with primary node
-     *      always first, or an empty collection if this projection contains only nodes with
-     *      {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()}
property set to {@code NEAR_ONLY}.
+     *      always first.
      */
     public Collection<ClusterNode> mapKeyToPrimaryAndBackups(K key);
 
@@ -242,15 +237,10 @@ public interface CacheAffinity<K> {
     /**
      * Gets primary and backup nodes for partition. Note that primary node is always
      * first in the returned collection.
-     * <p>
-     * If there are only cache nodes in the projection with
-     * {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()} property
set to {@code NEAR_ONLY}, then this
-     * method will return an empty collection.
      *
      * @param part Partition to get affinity nodes for.
      * @return Collection of primary and backup nodes for partition with primary node
-     *      always first, or an empty collection if this projection contains only nodes with
-     *      {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()}
property set to {@code NEAR_ONLY}.
+     *      always first.
      */
     public Collection<ClusterNode> mapPartitionToPrimaryAndBackups(int part);
 }


Mime
View raw message