class JobNodeBean implements Serializable {

    public int getTps() {
        if (JobStatus.Running.name().equalsIgnoreCase(status) || "project".equalsIgnoreCase(getType())) {
            return tps;
        }
        return 0;
    }

}