ClusterApi

class ClusterApi() extends ClusterEndpoint[Req, Res]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def clusterHandle(ctx: ActorContext[_], entityId: String, i: Req): ResponseWithStatus[Res]
Definition Classes

Inherited methods

def call(ctx: ActorContext[_], entityId: String, i: Req, 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
protected def clientInit(ctx: ActorContext[_]): Unit
Inherited from:
AbstractEndpoint
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: Req, 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[Res]])]
Inherited from:
AbstractEndpoint
val role: String
Inherited from:
ClusterEndpoint
val typeKey: EntityTypeKey[String]
Inherited from:
ClusterEndpoint