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