ApplicationNode.java 2.5 KB
Newer Older
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
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package org.apache.skywalking.apm.collector.storage.ui.application;

import org.apache.skywalking.apm.collector.storage.ui.common.Node;

/**
 * @author peng-yongsheng
 */
public class ApplicationNode extends Node {

28
    private int sla;
G
Gao Hongtao 已提交
29
    private long cpm;
30
    private long avgResponseTime;
31 32 33 34 35 36 37
    private int apdex;
    private boolean isAlarm;
    private int numOfServer;
    private int numOfServerAlarm;
    private int numOfServiceAlarm;

    public int getSla() {
38 39 40
        return sla;
    }

41
    public void setSla(int sla) {
42 43 44
        this.sla = sla;
    }

G
Gao Hongtao 已提交
45 46
    public long getCpm() {
        return cpm;
47 48
    }

G
Gao Hongtao 已提交
49 50
    public void setCpm(long cpm) {
        this.cpm = cpm;
51 52
    }

53 54
    public long getAvgResponseTime() {
        return avgResponseTime;
55 56
    }

57 58
    public void setAvgResponseTime(long avgResponseTime) {
        this.avgResponseTime = avgResponseTime;
59 60
    }

61
    public int getApdex() {
62 63 64
        return apdex;
    }

65
    public void setApdex(int apdex) {
66 67 68
        this.apdex = apdex;
    }

69
    public boolean isAlarm() {
70 71 72
        return isAlarm;
    }

73
    public void setAlarm(boolean alarm) {
74 75 76
        isAlarm = alarm;
    }

77
    public int getNumOfServer() {
78 79 80
        return numOfServer;
    }

81
    public void setNumOfServer(int numOfServer) {
82 83 84
        this.numOfServer = numOfServer;
    }

85
    public int getNumOfServerAlarm() {
86 87 88
        return numOfServerAlarm;
    }

89
    public void setNumOfServerAlarm(int numOfServerAlarm) {
90 91 92
        this.numOfServerAlarm = numOfServerAlarm;
    }

93
    public int getNumOfServiceAlarm() {
94 95 96
        return numOfServiceAlarm;
    }

97
    public void setNumOfServiceAlarm(int numOfServiceAlarm) {
98 99 100
        this.numOfServiceAlarm = numOfServiceAlarm;
    }
}