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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogMarkershardAllocated(String shardTypeName, String shardId, Address node) Marker "pekkoShardAllocated" of log event whenShardCoordinatorallocates a shard to a region.static LogMarkershardStarted(String shardTypeName, String shardId) Marker "pekkoShardStarted" of log event whenShardRegionstarts a shard.
-
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".
-