Class ShardingLogMarker


  • public class ShardingLogMarker
    extends java.lang.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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LogMarker shardAllocated​(java.lang.String shardTypeName, java.lang.String shardId, Address node)
      Marker "akkaShardAllocated" of log event when ShardCoordinator allocates a shard to a region.
      static LogMarker shardStarted​(java.lang.String shardTypeName, java.lang.String shardId)
      Marker "akkaShardStarted" of log event when ShardRegion starts a shard.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShardingLogMarker

        public ShardingLogMarker()
    • Method Detail

      • shardAllocated

        public static LogMarker shardAllocated​(java.lang.String shardTypeName,
                                               java.lang.String shardId,
                                               Address node)
        Marker "akkaShardAllocated" of log event when ShardCoordinator allocates a shard to a region.
        Parameters:
        shardTypeName - The typeName of the shard. Included as property "akkaShardTypeName".
        shardId - The id of the shard. Included as property "akkaShardId".
        node - The address of the node where the shard is allocated. Included as property "akkaRemoteAddress".
      • shardStarted

        public static LogMarker shardStarted​(java.lang.String shardTypeName,
                                             java.lang.String shardId)
        Marker "akkaShardStarted" of log event when ShardRegion starts a shard.
        Parameters:
        shardTypeName - The typeName of the shard. Included as property "akkaShardTypeName".
        shardId - The id of the shard. Included as property "akkaShardId".