aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/HealthChecker.java
blob: c2ef6ef2d2081ab92fdb047916ed5249892a1c7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.nodeagent;

/**
 * Interface for verifying the health of the node.
 *
 * @author hakonhall
 */
public interface HealthChecker extends AutoCloseable {
    /** Verify the health of an active node, just before updating the node repo and calling Orchestrator resume. */
    void verifyHealth(NodeAgentContext context);

    @Override
    void close();
}