Class ShardingLogMarker$

java.lang.Object
org.apache.pekko.cluster.sharding.ShardingLogMarker$

public class ShardingLogMarker$ extends Object
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 Details

    • MODULE$

      public static final ShardingLogMarker$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • ShardingLogMarker$

      public ShardingLogMarker$()
  • Method Details

    • shardAllocated

      public LogMarker shardAllocated(String shardTypeName, String shardId, Address node)
      Marker "pekkoShardAllocated" of log event when ShardCoordinator allocates a shard to a region.
      Parameters:
      shardTypeName - The typeName of 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

      public LogMarker shardStarted(String shardTypeName, String shardId)
      Marker "pekkoShardStarted" of log event when ShardRegion starts a shard.
      Parameters:
      shardTypeName - The typeName of the shard. Included as property "pekkoShardTypeName".
      shardId - The id of the shard. Included as property "pekkoShardId".