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],
|
messageClass: Class[T],
|
||||||
name: String,
|
name: String,
|
||||||
numberOfInstances: Int,
|
numberOfInstances: Int,
|
||||||
behaviorFactory: function.Function[Int, Behavior[T]],
|
behaviorFactory: function.Function[Integer, Behavior[T]],
|
||||||
stopMessage: T): Unit =
|
stopMessage: T): Unit =
|
||||||
init(name, numberOfInstances, n => behaviorFactory(n), ShardedDaemonProcessSettings(system), Some(stopMessage))(
|
init(name, numberOfInstances, n => behaviorFactory(n), ShardedDaemonProcessSettings(system), Some(stopMessage))(
|
||||||
ClassTag(messageClass))
|
ClassTag(messageClass))
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ abstract class ShardedDaemonProcess {
|
||||||
messageClass: Class[T],
|
messageClass: Class[T],
|
||||||
name: String,
|
name: String,
|
||||||
numberOfInstances: Int,
|
numberOfInstances: Int,
|
||||||
behaviorFactory: function.Function[Int, Behavior[T]],
|
behaviorFactory: function.Function[Integer, Behavior[T]],
|
||||||
stopMessage: T): Unit
|
stopMessage: T): Unit
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue