User Interger in javadsl function

This commit is contained in:
Renato Cavalcanti 2020-06-12 21:27:27 +02:00
parent 4f2e82e5f6
commit b89cc4c417
No known key found for this signature in database
GPG key ID: C7F92AA2BCB77E03
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@ private[akka] final class ShardedDaemonProcessImpl(system: ActorSystem[_])
messageClass: Class[T],
name: String,
numberOfInstances: Int,
behaviorFactory: function.Function[Int, Behavior[T]],
behaviorFactory: function.Function[Integer, Behavior[T]],
stopMessage: T): Unit =
init(name, numberOfInstances, n => behaviorFactory(n), ShardedDaemonProcessSettings(system), Some(stopMessage))(
ClassTag(messageClass))

View file

@ -56,7 +56,7 @@ abstract class ShardedDaemonProcess {
messageClass: Class[T],
name: String,
numberOfInstances: Int,
behaviorFactory: function.Function[Int, Behavior[T]],
behaviorFactory: function.Function[Integer, Behavior[T]],
stopMessage: T): Unit
/**