Class ShardingLogMarker$
java.lang.Object
org.apache.pekko.cluster.sharding.ShardingLogMarker$
This is public with the purpose to document the used markers and properties of log events.
No guarantee that it will remain binary compatible, but the marker names and properties
are considered public API and will not be changed without notice.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ShardingLogMarker$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshardAllocated(String shardTypeName, String shardId, Address node) Marker "pekkoShardAllocated" of log event whenShardCoordinatorallocates a shard to a region.shardStarted(String shardTypeName, String shardId) Marker "pekkoShardStarted" of log event whenShardRegionstarts a shard.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ShardingLogMarker$
public ShardingLogMarker$()
-
-
Method Details
-
shardAllocated
Marker "pekkoShardAllocated" of log event whenShardCoordinatorallocates a shard to a region.- Parameters:
shardTypeName- ThetypeNameof the shard. Included as property "pekkoShardTypeName".shardId- The id of the shard. Included as property "pekkoShardId".node- The address of the node where the shard is allocated. Included as property "pekkoRemoteAddress".
-
shardStarted
Marker "pekkoShardStarted" of log event whenShardRegionstarts a shard.- Parameters:
shardTypeName- ThetypeNameof the shard. Included as property "pekkoShardTypeName".shardId- The id of the shard. Included as property "pekkoShardId".
-