aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus/src/main/java/com/yahoo/messagebus/TraceLevel.java
blob: d859fdd6f231273bee52f7fdb631a90919f07d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.messagebus;

/**
 * This class defines the {@link Trace} levels used by message bus.
 *
 * @author Simon Thoresen Hult
 */
public final class TraceLevel {

    /**
     * Traces whenever an Error is added to a Reply.
     */
    public static final int ERROR = 1;

    /**
     * Traces sending and receiving messages and replies on network level.
     */
    public static final int SEND_RECEIVE = 4;

    /**
     * Traces splitting messages and merging replies.
     */
    public static final int SPLIT_MERGE = 5;

    /**
     * Traces information about which internal components are processing a routable.
     */
    public static final int COMPONENT = 6;
}