Package akka.cluster

Class ClusterLogMarker


  • public class ClusterLogMarker
    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 heartbeatStarvation()
      Marker "akkaHeartbeatStarvation" of log event when scheduled heartbeat was delayed.
      static LogMarker joinFailed()
      Marker "akkaJoinFailed" of log event when node couldn't join seed nodes.
      static LogMarker leaderIncapacitated()
      Marker "akkaClusterLeaderIncapacitated" of log event when leader can't perform its duties.
      static LogMarker leaderRestored()
      Marker "akkaClusterLeaderRestored" of log event when leader can perform its duties again.
      static LogMarker memberChanged​(UniqueAddress node, MemberStatus status)
      Marker "akkaMemberChanged" of log event when a member's status is changed by the leader.
      static LogMarker reachable​(Address node)
      Marker "akkaReachable" of log event when a node is marked as reachable again based no failure detector observation.
      static LogMarker singletonStarted()
      Marker "akkaClusterSingletonStarted" of log event when Cluster Singleton instance has started.
      static LogMarker singletonTerminated()
      Marker "akkaClusterSingletonTerminated" of log event when Cluster Singleton instance has terminated.
      static LogMarker unreachable​(Address node)
      Marker "akkaUnreachable" of log event when a node is marked as unreachable based no failure detector observation.
      • Methods inherited from class java.lang.Object

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

      • ClusterLogMarker

        public ClusterLogMarker()
    • Method Detail

      • unreachable

        public static LogMarker unreachable​(Address node)
        Marker "akkaUnreachable" of log event when a node is marked as unreachable based no failure detector observation.
        Parameters:
        node - The address of the node that is marked as unreachable. Included as property "akkaRemoteAddress".
        Returns:
        (undocumented)
      • reachable

        public static LogMarker reachable​(Address node)
        Marker "akkaReachable" of log event when a node is marked as reachable again based no failure detector observation.
        Parameters:
        node - The address of the node that is marked as reachable. Included as property "akkaRemoteAddress".
        Returns:
        (undocumented)
      • heartbeatStarvation

        public static LogMarker heartbeatStarvation()
        Marker "akkaHeartbeatStarvation" of log event when scheduled heartbeat was delayed.
        Returns:
        (undocumented)
      • leaderIncapacitated

        public static LogMarker leaderIncapacitated()
        Marker "akkaClusterLeaderIncapacitated" of log event when leader can't perform its duties. Typically because there are unreachable nodes that have not been downed.
        Returns:
        (undocumented)
      • leaderRestored

        public static LogMarker leaderRestored()
        Marker "akkaClusterLeaderRestored" of log event when leader can perform its duties again.
        Returns:
        (undocumented)
      • joinFailed

        public static LogMarker joinFailed()
        Marker "akkaJoinFailed" of log event when node couldn't join seed nodes.
        Returns:
        (undocumented)
      • memberChanged

        public static LogMarker memberChanged​(UniqueAddress node,
                                              MemberStatus status)
        Marker "akkaMemberChanged" of log event when a member's status is changed by the leader.
        Parameters:
        node - The address of the node that is changed. Included as property "akkaRemoteAddress" and "akkaRemoteAddressUid".
        status - New member status. Included as property "akkaMemberStatus".
        Returns:
        (undocumented)
      • singletonStarted

        public static LogMarker singletonStarted()
        Marker "akkaClusterSingletonStarted" of log event when Cluster Singleton instance has started.
        Returns:
        (undocumented)
      • singletonTerminated

        public static LogMarker singletonTerminated()
        Marker "akkaClusterSingletonTerminated" of log event when Cluster Singleton instance has terminated.
        Returns:
        (undocumented)