You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2016/03/04 09:06:15 UTC
[09/10] ignite git commit: IGNITE-2320 Deprecated
setMarshallerCachePoolSize() and created new
setMarshallerCacheThreadPoolSize() to be consistent with
getMarshallerCacheThreadPoolSize().
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 <vs...@gridgain.com>
Authored: Fri Mar 4 10:01:59 2016 +0700
Committer: Alexey Kuznetsov <ak...@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;