Package akka.cluster.sharding
Class ShardingLogMarker
- java.lang.Object
-
- akka.cluster.sharding.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShardingLogMarker.Properties$
INTERNAL API
-
Constructor Summary
Constructors Constructor Description ShardingLogMarker()
-
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 whenShardCoordinator
allocates a shard to a region.static LogMarker
shardStarted(java.lang.String shardTypeName, java.lang.String shardId)
Marker "akkaShardStarted" of log event whenShardRegion
starts a shard.
-
-
-
Method Detail
-
shardAllocated
public static LogMarker shardAllocated(java.lang.String shardTypeName, java.lang.String shardId, Address node)
Marker "akkaShardAllocated" of log event whenShardCoordinator
allocates a shard to a region.- Parameters:
shardTypeName
- ThetypeName
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 whenShardRegion
starts a shard.- Parameters:
shardTypeName
- ThetypeName
of the shard. Included as property "akkaShardTypeName".shardId
- The id of the shard. Included as property "akkaShardId".
-
-