ClusterEndpoint

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

Value members

Abstract methods

def clusterHandle(ctx: ActorContext[_], entityId: String, i: I): O

Concrete methods

def callEntity(ctx: ActorContext[_], entityId: String, i: I, timeout: Duration, customeRequestId: Option[String]): Future[Try[O]]
def declareEntity(ctx: ActorContext[_]): ActorRef[ShardingEnvelope[String]]
def tellEntity(ctx: ActorContext[_], entityId: String, i: I, customeRequestId: Option[String]): Unit

Inherited methods

protected def clientInit(ctx: ActorContext[_]): Unit
Inherited from:
AbstractEndpoint

Concrete fields

val role: String
val typeKey: EntityTypeKey[String]

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