public class Shard$
extends java.lang.Object
ClusterSharding extension
Modifier and Type | Field and Description |
---|---|
static Shard$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Shard$() |
Modifier and Type | Method and Description |
---|---|
Props |
props(java.lang.String typeName,
java.lang.String shardId,
Props entityProps,
ClusterShardingSettings settings,
scala.PartialFunction<java.lang.Object,scala.Tuple2<java.lang.String,java.lang.Object>> extractEntityId,
scala.Function1<java.lang.Object,java.lang.String> extractShardId,
java.lang.Object handOffStopMessage)
|
public static final Shard$ MODULE$
public Props props(java.lang.String typeName, java.lang.String shardId, Props entityProps, ClusterShardingSettings settings, scala.PartialFunction<java.lang.Object,scala.Tuple2<java.lang.String,java.lang.Object>> extractEntityId, scala.Function1<java.lang.Object,java.lang.String> extractShardId, java.lang.Object handOffStopMessage)
Props
of the Shard
actor.
If settings.rememberEntities
is enabled the PersistentShard
subclass is used, otherwise Shard
.typeName
- (undocumented)shardId
- (undocumented)entityProps
- (undocumented)settings
- (undocumented)extractEntityId
- (undocumented)extractShardId
- (undocumented)handOffStopMessage
- (undocumented)