Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jul 15, 2023
1 parent bcd862e commit 7b68a89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.pekko.dispatch

import org.apache.pekko.annotation.InternalApi
import org.apache.pekko.dispatch.ForkJoinExecutorConfigurator.PekkoForkJoinTask

import java.util.concurrent.{ ForkJoinPool, ForkJoinTask, TimeUnit }
Expand All @@ -27,6 +28,7 @@ import java.util.concurrent.{ ForkJoinPool, ForkJoinTask, TimeUnit }
* An alternative version of [[ForkJoinExecutorConfigurator.PekkoForkJoinPool]]
* that supports the `maximumPoolSize` feature available in [[java.util.concurrent.ForkJoinPool]] in JDK9+.
*/
@InternalApi
private[dispatch] final class PekkoJdk9ForkJoinPool(
parallelism: Int,
threadFactory: ForkJoinPool.ForkJoinWorkerThreadFactory,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
package org.apache.pekko.dispatch

private[dispatch] object ForkJoinPoolConstants {
val MaxCap: Int = 0x7FFF // 32767
val DefaultKeepAlive: Long = 60000
final val MaxCap: Int = 0x7FFF // 32767
final val DefaultKeepAlive: Long = 60000
}

0 comments on commit 7b68a89

Please sign in to comment.