aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/provider/NodeAdminDebugHandler.java
blob: f62f29b8b730e5da740fe97e4730b8a20b69edaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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.provider;

import java.util.Map;

/**
 * Interface for supporting debug info to introspect e.g. internal state.
 *
 * @author hakonhall
 */
public interface NodeAdminDebugHandler {
    /**
     * The Object in the map values must be serializable with Jackson's ObjectMapper.
     * May be called concurrently by different threads.
     */
    Map<String, Object> getDebugPage();
}