Skip to content

Commit

Permalink
IGNITE-20426 Sync deprecated methods in the ClientCacheConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
Якимова Анастасия Николаевна authored and Якимова Анастасия Николаевна committed Sep 25, 2023
1 parent c6e7140 commit 1ee8dc4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/_docs/code-snippets/dotnet/DataRebalancing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public static void RebalanceThrottle()
// tag::RebalanceThrottle[]
IgniteConfiguration cfg = new IgniteConfiguration
{
RebalanceBatchSize = 2 * 1024 * 1024,
RebalanceThrottle = new TimeSpan(0, 0, 0, 0, 100),
RebalanceBatchesPrefetchCnt = 3
RebalanceBatchSize = 2 * 1024 * 1024,
RebalanceThrottle = new TimeSpan(0, 0, 0, 0, 100),
RebalanceBatchesPrefetchCount = 3
};

// Start a node.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void configure() {
//tag::throttling[]

cfg.setRebalanceBatchSize(2 * 1024 * 1024);
cfg.setRebalanceBatchesPrefetchCnt(3);
cfg.setRebalanceBatchesPrefetchCount(3);
cfg.setRebalanceThrottle(100);

//end::throttling[]
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/code-snippets/xml/rebalancing-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<!-- Set batch size. -->
<property name="rebalanceBatchSize" value="#{2 * 1024 * 1024}"/>
<!-- Set batches prefetch count. -->
<property name="rebalanceBatchesPrefetchCnt" value="3"/>
<property name="rebalanceBatchesPrefetchCount" value="3"/>
<!-- Set throttle interval. -->
<property name="rebalanceThrottle" value="100"/>
<!-- end::throttling[] -->
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/data-rebalancing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ The following table lists the properties of `IgniteConfiguration` related to reb

|`rebalanceBatchSize` | The size in bytes of a single rebalance message. The rebalancing algorithm splits the data on every node into multiple batches prior to sending it to other nodes. | 512KB

|`rebalanceBatchesPrefetchCnt` | Rebalance batches prefetch count. | 3
|`rebalanceBatchesPrefetchCount` | Rebalance batches prefetch count. | 3

|`rebalanceThrottle` | See <<#throttling>>.| 0 (throttling disabled)

Expand Down

0 comments on commit 1ee8dc4

Please sign in to comment.