001: /**
002: * $Id: ChannelStatisticsBean.java,v 1.4 2006/06/07 07:09:44 kk155903 Exp $
003: * Copyright 2005 Sun Microsystems, Inc. All
004: * rights reserved. Use of this product is subject
005: * to license terms. Federal Acquisitions:
006: * Commercial Software -- Government Users
007: * Subject to Standard License Terms and
008: * Conditions.
009: *
010: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
011: * are trademarks or registered trademarks of Sun Microsystems,
012: * Inc. in the United States and other countries.
013: */package com.sun.portal.admin.console.monitoring.channelStatistics;
014:
015: /**
016: *
017: * @author pa157442
018: */
019: public class ChannelStatisticsBean {
020:
021: public String channelName = null;
022: public String type = null;
023: public Long count = null;
024: public Long minTime = null;
025: public Long maxTime = null;
026: public Long totalTime = null;
027: public Long rollingAvgTime = null;
028: public boolean isNull = false;
029: public String fqcn = null;
030:
031: /** Creates a new instance of ChannelStatistics */
032: public ChannelStatisticsBean(String channelName, String type,
033: Long count, Long minTime, Long maxTime, Long totalTime,
034: Long rollingAvgTime, boolean isNull) {
035: this .channelName = channelName;
036: this .type = type;
037: this .count = count;
038: this .minTime = minTime;
039: this .maxTime = maxTime;
040: this .totalTime = totalTime;
041: this .rollingAvgTime = rollingAvgTime;
042: this .isNull = isNull;
043: }
044:
045: public ChannelStatisticsBean(String channelName, String type,
046: Long count, Long minTime, Long maxTime, Long totalTime,
047: Long rollingAvgTime, boolean isNull, String fqcn) {
048: this (channelName, type, count, minTime, maxTime, totalTime,
049: rollingAvgTime, isNull);
050: this .fqcn = fqcn;
051: }
052:
053: public String getChannelName() {
054: return channelName;
055: }
056:
057: public String getType() {
058: return type;
059: }
060:
061: public Long getCount() {
062: return count;
063: }
064:
065: public Long getMinTime() {
066: return minTime;
067: }
068:
069: public Long getMaxTime() {
070: return maxTime;
071: }
072:
073: public Long getTotalTime() {
074: return totalTime;
075: }
076:
077: public Long getRollingAvgTime() {
078: return rollingAvgTime;
079: }
080:
081: public boolean getIsNull() {
082: return isNull;
083: }
084:
085: /* public void setType(String type) {
086: this.type = type;
087: }
088:
089: public void setCount(Long count) {
090: this.count = count;
091: }
092:
093: public void setMinTime(Long minTime) {
094: this.minTime = minTime;
095: }
096:
097: public void setMaxTime(Long maxTime) {
098: this.maxTime = maxTime;
099: }
100:
101: public void setTotalTime(Long totalTime) {
102: this.totalTime = totalTime;
103: }
104:
105: public void setRollingAvgTime(Long rollingAvgTime) {
106: this.rollingAvgTime = rollingAvgTime;
107: }*/
108: }
|