ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject incubator-ignite git commit: ignite-1093
Date Wed, 19 Aug 2015 15:17:34 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-1093 9da4b9367 -> bd317a016


ignite-1093


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

Branch: refs/heads/ignite-1093
Commit: bd317a01658c8ad9a1cc30df3a000375e38c8666
Parents: 9da4b93
Author: Anton Vinogradov <vinogradov.anton@gmail.com>
Authored: Wed Aug 19 13:07:28 2015 +0300
Committer: Anton Vinogradov <vinogradov.anton@gmail.com>
Committed: Wed Aug 19 13:07:28 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/configuration/CacheConfiguration.java   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bd317a01/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
b/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
index a19e136..0699124 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/CacheConfiguration.java
@@ -1762,7 +1762,7 @@ public class CacheConfiguration<K, V> extends MutableConfiguration<K,
V> {
      *
      * Gets number of batches generated by supply node at rebalancing start.
      *
-     * @return
+     * @return batches count
      */
     public long getRebalanceBatchesCount() {
         return rebalanceBatchesCount;
@@ -1772,9 +1772,12 @@ public class CacheConfiguration<K, V> extends MutableConfiguration<K,
V> {
      * Sets number of batches generated by supply node at rebalancing start.
      *
      * @param rebalanceBatchesCnt batches count.
+     * @return {@code this} for chaining.
      */
-    public void setRebalanceBatchesCount(long rebalanceBatchesCnt) {
+    public CacheConfiguration<K, V> setRebalanceBatchesCount(long rebalanceBatchesCnt)
{
         this.rebalanceBatchesCount = rebalanceBatchesCnt;
+
+        return this;
     }
 
     /**


Mime
View raw message