aboutsummaryrefslogtreecommitdiffstats
path: root/vespalog/src/main/java/com/yahoo/log/event/Stopped.java
blob: 0a7fcf0f00dd4deb745cd9560fd60a3b37871598 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.log.event;

/**
 *
 * @author  Bjorn Borud
 */
class Stopped extends Event {
    public Stopped () {
    }

    public Stopped (String name, int pid, int exitcode) {
        setValue("name", name);
        setValue("pid", Integer.toString(pid));
        setValue("exitcode", Integer.toString(exitcode));
    }
}