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

import com.yahoo.config.provision.HostName;

/**
 * @author hakonhall
 */
public interface Cores {
    /**
     * @param hostname Hostname of the node that produced the core.
     * @param id       The ID (aka UUID aka docid) of the core.
     * @param metadata Core dump metadata.
     */
    void report(HostName hostname, String id, CoreDumpMetadata metadata);
}