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
…or thread pool (#3602)
Motivation:
It may be useful if a user can create a new event loop or blocking task executor that has the same life cycle with a `ClientFactory` or `Server`:
```java
ClientFactory
.builder()
.workerGroup(3)
.build()
Server
.builder()
.workerGroup(3)
.blockingTaskExecutor(10)
...
.build()
```
Modifications:
- Added `ClientFactoryBuilder.workerGroup(int)`
- Added `ServerBuilder.workerGroup(int)`
- Added `ServerBuilder.blockingTaskExecutor(int)`
Result:
- Closes#3597
heowc
pushed a commit
to heowc/armeria
that referenced
this issue
Jun 24, 2021
…or thread pool (line#3602)
Motivation:
It may be useful if a user can create a new event loop or blocking task executor that has the same life cycle with a `ClientFactory` or `Server`:
```java
ClientFactory
.builder()
.workerGroup(3)
.build()
Server
.builder()
.workerGroup(3)
.blockingTaskExecutor(10)
...
.build()
```
Modifications:
- Added `ClientFactoryBuilder.workerGroup(int)`
- Added `ServerBuilder.workerGroup(int)`
- Added `ServerBuilder.blockingTaskExecutor(int)`
Result:
- Closesline#3597
It may be useful if a user can create a new event loop or blocking task executor that has the same life cycle with a
ClientFactory
orServer
:The text was updated successfully, but these errors were encountered: