ClusterWorkerPoolEndpoint

abstract class ClusterWorkerPoolEndpoint[I, O](name: String, workerNum: Int, role: String)(implicit evidence$1: ClassTag[I], evidence$2: Encoder[I], evidence$3: Decoder[I], evidence$4: Encoder[O], evidence$5: Decoder[O]) extends ClusterEndpoint[I, O]
class ClusterEndpoint[I, O]
class AbstractEndpoint[I, O]
class Object
trait Matchable
class Any

Value members

Concrete methods

def callWorker(ctx: ActorContext[_], i: I, timeout: Duration, customeRequestId: Option[String]): Future[Try[O]]
def callWorkerJson(ctx: ActorContext[_], i: Json, timeout: Duration, customeRequestId: Option[String]): Future[Try[O]]
def entityIdFromReq(i: Object): String
def tellWorker(ctx: ActorContext[_], i: I, customeRequestId: Option[String]): Unit
def tellWorkerJson(ctx: ActorContext[_], i: Json, customeRequestId: Option[String]): Unit

Inherited methods

def call(ctx: ActorContext[_], entityId: String, i: I, timeout: Duration, customeRequestId: Option[String]): Future[Try[O]]
Inherited from:
ClusterEndpoint
def callJson(ctx: ActorContext[_], entityId: String, i: Json, timeout: Duration, customeRequestId: Option[String]): Future[Try[O]]
Inherited from:
ClusterEndpoint
def clientInit(ctx: ActorContext[_]): AbstractEndpoint.this.type
Inherited from:
AbstractEndpoint
def clusterHandle(ctx: ActorContext[_], entityId: String, i: I): ResponseWithStatus[O]
Inherited from:
ClusterEndpoint
def declareEntity(ctx: ActorContext[_]): ActorRef[ShardingEnvelope[String]]
Inherited from:
ClusterEndpoint
def prepareRequest(requestId: String, timeout: Duration): Promise[Try[O]]
Inherited from:
AbstractEndpoint
def requestIdFromOption(requestId: Option[String]): String
Inherited from:
AbstractEndpoint
def tell(ctx: ActorContext[_], entityId: String, i: I, customeRequestId: Option[String]): Unit
Inherited from:
ClusterEndpoint
def tellJson(ctx: ActorContext[_], entityId: String, i: Json, customeRequestId: Option[String]): Unit
Inherited from:
ClusterEndpoint

Inherited fields

var callable: Boolean
Inherited from:
AbstractEndpoint
protected var callbackActor: ActorRef[String]
Inherited from:
AbstractEndpoint
protected val requests: TrieMap[String, (ZonedDateTime, Promise[Try[O]])]
Inherited from:
AbstractEndpoint
val typeKey: EntityTypeKey[String]
Inherited from:
ClusterEndpoint