ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [09/10] ignite git commit: IGNITE-2320 Deprecated setMarshallerCachePoolSize() and created new setMarshallerCacheThreadPoolSize() to be consistent with getMarshallerCacheThreadPoolSize().
Date Fri, 04 Mar 2016 08:06:15 GMT
IGNITE-2320 Deprecated  setMarshallerCachePoolSize() and created new setMarshallerCacheThreadPoolSize()
to be consistent with getMarshallerCacheThreadPoolSize().


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

Branch: refs/heads/ignite-1232
Commit: 7c5db2102fb701a24e03f50232a5012122672d32
Parents: baa1312
Author: vsisko <vsisko@gridgain.com>
Authored: Fri Mar 4 10:01:59 2016 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Fri Mar 4 10:01:59 2016 +0700

----------------------------------------------------------------------
 .../ignite/configuration/IgniteConfiguration.java     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7c5db210/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
index f705638..758a2b4 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
@@ -891,8 +891,22 @@ public class IgniteConfiguration {
      * @see IgniteConfiguration#getMarshallerCacheThreadPoolSize()
      * @see IgniteConfiguration#getMarshallerCacheKeepAliveTime()
      * @return {@code this} for chaining.
+     * @deprecated Use {@link #setMarshallerCacheThreadPoolSize(int)} instead.
      */
+    @Deprecated
     public IgniteConfiguration setMarshallerCachePoolSize(int poolSize) {
+        return setMarshallerCacheThreadPoolSize(poolSize);
+    }
+
+    /**
+     * Sets default thread pool size that will be used to process marshaller messages.
+     *
+     * @param poolSize Default executor service size to use for marshaller messages.
+     * @see IgniteConfiguration#getMarshallerCacheThreadPoolSize()
+     * @see IgniteConfiguration#getMarshallerCacheKeepAliveTime()
+     * @return {@code this} for chaining.
+     */
+    public IgniteConfiguration setMarshallerCacheThreadPoolSize(int poolSize) {
         marshCachePoolSize = poolSize;
 
         return this;


Mime
View raw message