User Interger in javadsl function
This commit is contained in:
parent
4f2e82e5f6
commit
b89cc4c417
2 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue