Package akka.cluster.sharding
Class ShardingLogMarker
- java.lang.Object
-
- akka.cluster.sharding.ShardingLogMarker
-
public class ShardingLogMarker extends java.lang.ObjectThis 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 Modifier and Type Class Description static classShardingLogMarker.Properties$INTERNAL API
-
Constructor Summary
Constructors Constructor Description ShardingLogMarker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogMarkershardAllocated(java.lang.String shardTypeName, java.lang.String shardId, Address node)Marker "akkaShardAllocated" of log event whenShardCoordinatorallocates a shard to a region.static LogMarkershardStarted(java.lang.String shardTypeName, java.lang.String shardId)Marker "akkaShardStarted" of log event whenShardRegionstarts a shard.
-
-
-
Method Detail
-
shardAllocated
public static LogMarker shardAllocated(java.lang.String shardTypeName, java.lang.String shardId, Address node)
Marker "akkaShardAllocated" of log event whenShardCoordinatorallocates a shard to a region.- Parameters:
shardTypeName- ThetypeNameof 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 whenShardRegionstarts a shard.- Parameters:
shardTypeName- ThetypeNameof the shard. Included as property "akkaShardTypeName".shardId- The id of the shard. Included as property "akkaShardId".
-
-