WorkerPool

class WorkerPool(system: ActorSystem[_]) extends ClusterWorkerPoolEndpoint[Req, Res]
class Object
trait Matchable
class Any

Value members

Concrete methods

def handler(i: Req, entityId: Option[String]): ResponseWithStatus[Res]

Inherited methods

def call(system: ActorSystem[_], entityId: String, i: Req, timeout: Duration): Future[O]
Inherited from:
ClusterEndpoint
def callJson(system: ActorSystem[_], entityId: String, i: Json, timeout: Duration): Future[O]
Inherited from:
ClusterEndpoint
def callWorker(system: ActorSystem[_], i: Req, timeout: Duration): Future[O]
def callWorkerJson(system: ActorSystem[_], i: Json, timeout: Duration): Future[O]
def entityIdFromReq(i: Object): String
protected def handlerBehavior(system: ActorSystem[_]): Receive[String]
Inherited from:
AbstractEndpoint
def responseFromStringFuture(system: ActorSystem[_], result: Future[String], endpointName: String): Future[O]
Inherited from:
AbstractEndpoint
def tell(system: ActorSystem[_], entityId: String, i: Req): Unit
Inherited from:
ClusterEndpoint
def tellJson(system: ActorSystem[_], entityId: String, i: Json): Unit
Inherited from:
ClusterEndpoint
def tellWorker(system: ActorSystem[_], i: Req, customeRequestId: Option[String]): Unit
def tellWorkerJson(system: ActorSystem[_], i: Json, customeRequestId: Option[String]): Unit

Inherited fields

val name: String
Inherited from:
AbstractEndpoint
val role: String
Inherited from:
ClusterEndpoint
val typeKey: EntityTypeKey[String]
Inherited from:
ClusterEndpoint