RecipientType

com.devsisters.shardcake.RecipientType
sealed abstract class RecipientType[+Msg](val name: String)

An abstract type to extend for each type of entity or topic

Type parameters

Msg

the type of message that can be sent to this entity or topic type

Value parameters

name

a unique string that identifies this entity or topic type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class EntityType[Msg]
class TopicType[Msg]

Members list

Value members

Concrete methods

def getShardId(entityId: String, numberOfShards: Int): ShardId

Concrete fields

val name: String