You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docs: Fix various typos in documentation
Corrected several spelling and grammatical errors in the documentation.
- Fixed a grammatical error in the ElastiCache link in getting-started.md.
- Fixed multiple typos and grammatical errors in advanced-usage.md.
* fix my mistake
|**I/O Thread Pool Size**|`ioThreadPoolSize`|`See below`|
103
103
| The number of threads in the I/O thread pools. Every thread represents an internal event loop where all I/O tasks are run. The number does not reflect the actual number of I/O threads because the client requires different thread pools for Network (NIO) and Unix Domain Socket (EPoll) connections. The minimum I/O threads are `2`. |||
104
-
|**Computation Thread Pool Size**|`comput ationThreadPoolSize`|`See below`|
104
+
|**Computation Thread Pool Size**|`computationThreadPoolSize`|`See below`|
105
105
| The number of threads in the computation thread pool. Every thread represents an internal event loop where all computation tasks are run. The minimum computation threads are `2`. |||
106
106
107
+
107
108
#### Default thread pool size
108
109
109
110
Unless configured otherwise by the settings above, the number of threads (for both computation and I/O) is determined in the following order:
@@ -154,7 +155,7 @@ needs to be shut down once you no longer need the resources.</td>
154
155
total control over the thread pools can provide an existing
155
156
<code>EventExecutorGroup</code> to the Client resources. A provided
156
157
<code>EventExecutorGroup</code> is not managed by the client and needs
157
-
to be shut down once you do not longer need the resources.</td>
158
+
to be shut down once you no longer need the resources.</td>
158
159
</tr>
159
160
<tr>
160
161
<td><strong>Event bus</strong></td>
@@ -281,7 +282,7 @@ customization of <code>Bootstrap</code> after <code>Bootstrap</code>
281
282
configuration by Lettuce and <code>Channel</code> customization after
282
283
all Lettuce handlers are added to <code>Channel</code>. The customizer
283
284
allows custom SSL configuration (requires RedisURI in plain-text mode,
284
-
otherwise Lettuce’s configures SSL), adding custom handlers or setting
285
+
otherwise Lettuce configures SSL), adding custom handlers or setting
| A `double`-array of percentiles for latency metrics. The `CommandMetrics` contains a map that holds the percentile value and the latency value according to the percentile. Note that percentiles here must be specified in the range between 0 and 100. |||
1361
1362
|**Reset latencies after publish**|`resetLatenciesAfterEvent`|`true`|
1362
-
| Allows controlling whether the latency metrics are reset to zero one they were published. Setting `resetLatenciesAfterEvent` allows accumulating metrics over a long period for long-term analytics. |||
1363
+
| Allows controlling whether the latency metrics are reset to zero once they were published. Setting `resetLatenciesAfterEvent` allows accumulating metrics over a long period for long-term analytics. |||
| Enables per connection metrics tracking instead of per host/port. If `true`, multiple connections to the same host/connection point will be recorded separately which allows to inspection of every connection individually. If `false`, multiple connections to the same host/connection point will be recorded together. This allows a consolidated view on one particular service. |||
1365
1366
@@ -1434,7 +1435,7 @@ The following settings are available to configure from
1434
1435
| Sets the minimum value that this timer is expected to observe. Applies only if Histogram publishing is enabled. |||
| A `double`-array of percentiles for latency metrics. Values must be supplied in the range of `0.0` (0th percentile) up to `1.0` (100th percentile). The `CommandMetrics` contains a map that holds the percentile value and the latency value according to the percentile. This applies only if Histogram publishing is enabled. |||
1439
1440
1440
1441
### Tracing
@@ -2099,7 +2100,7 @@ that extends `CompleteableFuture`. `AsyncCommand` can be synchronized by
2099
2100
`await()` or `get()` which corresponds with the asynchronous pull style.
2100
2101
By using the methods from the `CompletionStage` interface (such as
2101
2102
`handle()` or `thenAccept()`) the response handler will trigger the
2102
-
functions ("listeners") on command completion. Lear more about
2103
+
functions ("listeners") on command completion. Learn more about
2103
2104
asynchronous usage in the [Asynchronous API](user-guide/async-api.md) topic.
2104
2105
2105
2106
```java
@@ -2617,7 +2618,7 @@ To change into *at-most-once* consistency level, disable auto-reconnect
2617
2618
mode. Connections can no longer be reconnected and thus no retries are
2618
2619
issued. Unsuccessful commands are canceled. New commands are rejected.
2619
2620
2620
-
#### Controlling replay of commands in *at-lease-once* mode
2621
+
#### Controlling replay of commands in *at-least-once* mode
-[Connecting to a ElastiCache Master](https://github.com/redis/lettuce/blob/main/src/test/java/io/lettuce/examples/ConnectToElastiCacheMaster.java)
82
+
-[Connecting to the ElastiCache Master](https://github.com/redis/lettuce/blob/main/src/test/java/io/lettuce/examples/ConnectToElastiCacheMaster.java)
83
83
84
84
-[Connecting to ElastiCache with Master/Replica](https://github.com/redis/lettuce/blob/main/src/test/java/io/lettuce/examples/ConnectToMasterSlaveUsingElastiCacheCluster.java)
0 commit comments