Class NodePanicHandler

java.lang.Object
com.atlassian.crowd.manager.cluster.NodePanicHandler

public class NodePanicHandler extends Object
Adds a johnson error on node panic. This should prevent web access, and make the /status healthcheck return an error.
See Also:
  • Constructor Details

    • NodePanicHandler

      public NodePanicHandler(com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer, com.atlassian.event.api.EventPublisher eventPublisher)
  • Method Details

    • registerListener

      @PostConstruct public void registerListener()
    • unregisterListener

      @PreDestroy public void unregisterListener()
    • onNodePanic

      @EventListener public void onNodePanic(NodePanicEvent nodePanicEvent)