Class NodePanicHandler
java.lang.Object
com.atlassian.crowd.manager.cluster.NodePanicHandler
Adds a johnson error on node panic. This should prevent web access, and make the /status healthcheck return an error.
-
Constructor Summary
ConstructorDescriptionNodePanicHandler
(com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
-
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
-