public class NodeCutOffManager extends Object
| Constructor and Description | 
|---|
| NodeCutOffManager(java.time.Clock clock,
                 com.atlassian.event.api.EventPublisher eventPublisher) | 
| Modifier and Type | Method and Description | 
|---|---|
| CuttingOffExecutor | getCutOffExecutorForNode(Node node)Gets cutting off executor for node | 
| void | removeStaleCutOffExecutors(Collection<Node> liveNodes)It should be called each time the list of live nodes changes. | 
public NodeCutOffManager(java.time.Clock clock,
                         com.atlassian.event.api.EventPublisher eventPublisher)
@Nonnull public CuttingOffExecutor getCutOffExecutorForNode(@Nonnull Node node)
node - the node for whichpublic void removeStaleCutOffExecutors(@Nonnull Collection<Node> liveNodes)
liveNodes - the list of live nodes after changesCopyright © 2002-2024 Atlassian. All Rights Reserved.