Permalink
Browse files

taokeeper RT监控信息和cluster对应,而不是和单个节点对应。调整展现

  • Loading branch information...
qiaoyi.dingqy
qiaoyi.dingqy committed Jan 8, 2014
1 parent f5566c1 commit 5edb7fe4facab5c25832bf4edbc0b32ba3d1dbf8
@@ -2,243 +2,147 @@
/**
* Description: Model: ZooKeeperStat
*
*
* @author yinshi.nc
* @Date 2011-10-28
*/
public class ZooKeeperStatusV2 extends ZooKeeperStatus {
private RWStatistics rwps;
private RTStats rtStats;
public static class RWStatistics{
private double getChildren2;
private double createSession;
private double closeSession;
private double setData;
private double setWatches;
private double getChildren;
private double delete;
private double create;
private double exists;
private double getData;
public RWStatistics(double getChildren2, double createSession, double closeSession, double setData,double setWatches,
double getChildren,
double delete,
double create,
double exists,
double getData){
this.setGetChildren2( getChildren2 );
this.setCreateSession( createSession );
this.setCloseSession( closeSession );
this.setSetData( setData );
this.setSetWatches( setWatches );
this.setGetChildren( getChildren );
this.getDelete();
this.setCreate( create );
this.setExists( exists );
this.setGetData( getData );
}
public double getGetChildren2() {
return getChildren2;
}
public void setGetChildren2( double getChildren2 ) {
this.getChildren2 = getChildren2;
}
public double getCreateSession() {
return createSession;
}
public void setCreateSession( double createSession ) {
this.createSession = createSession;
}
public double getCloseSession() {
return closeSession;
}
public void setCloseSession( double closeSession ) {
this.closeSession = closeSession;
}
public double getSetData() {
return setData;
}
public void setSetData( double setData ) {
this.setData = setData;
}
public double getSetWatches() {
return setWatches;
}
public void setSetWatches( double setWatches ) {
this.setWatches = setWatches;
}
public double getGetChildren() {
return getChildren;
}
public void setGetChildren( double getChildren ) {
this.getChildren = getChildren;
}
public double getDelete() {
return delete;
}
public void setDelete( double delete ) {
this.delete = delete;
}
public double getCreate() {
return create;
}
public void setCreate( double create ) {
this.create = create;
}
public double getExists() {
return exists;
}
public void setExists( double exists ) {
this.exists = exists;
}
public double getGetData() {
return getData;
}
public void setGetData( double getData ) {
this.getData = getData;
}
@Override
public String toString() {
return "RWStatistics [getChildren2=" + getChildren2 + ", createSession=" + createSession + ", closeSession=" + closeSession
+ ", setData=" + setData + ", setWatches=" + setWatches + ", getChildren=" + getChildren + ", delete=" + delete
+ ", create=" + create + ", exists=" + exists + ", getData=" + getData + "]";
}
}
public static class RTStats {
private long createSession;
private long setData;
private long getChildren;
private long delete;
private long create;
private long exists;
private long getData;
public RTStats() {
}
public RTStats(long createSession, long setData, long getChildren, long delete, long create, long exists, long getData) {
this.createSession = createSession;
this.setData = setData;
this.getChildren = getChildren;
this.delete = delete;
this.create = create;
this.exists = exists;
this.getData = getData;
private RWStatistics rwps;
public static class RWStatistics{
private double getChildren2;
private double createSession;
private double closeSession;
private double setData;
private double setWatches;
private double getChildren;
private double delete;
private double create;
private double exists;
private double getData;
public RWStatistics(double getChildren2, double createSession, double closeSession, double setData,double setWatches,
double getChildren,
double delete,
double create,
double exists,
double getData){
this.setGetChildren2( getChildren2 );
this.setCreateSession( createSession );
this.setCloseSession( closeSession );
this.setSetData( setData );
this.setSetWatches( setWatches );
this.setGetChildren( getChildren );
this.getDelete();
this.setCreate( create );
this.setExists( exists );
this.setGetData( getData );
}
public double getGetChildren2() {
return getChildren2;
}
public void setGetChildren2( double getChildren2 ) {
this.getChildren2 = getChildren2;
}
public long getCreateSession() {
public double getCreateSession() {
return createSession;
}
public void setCreateSession(long createSession) {
public void setCreateSession( double createSession ) {
this.createSession = createSession;
}
public long getSetData() {
public double getCloseSession() {
return closeSession;
}
public void setCloseSession( double closeSession ) {
this.closeSession = closeSession;
}
public double getSetData() {
return setData;
}
public void setSetData(long setData) {
public void setSetData( double setData ) {
this.setData = setData;
}
public long getGetChildren() {
public double getSetWatches() {
return setWatches;
}
public void setSetWatches( double setWatches ) {
this.setWatches = setWatches;
}
public double getGetChildren() {
return getChildren;
}
public void setGetChildren(long getChildren) {
public void setGetChildren( double getChildren ) {
this.getChildren = getChildren;
}
public long getDelete() {
public double getDelete() {
return delete;
}
public void setDelete(long delete) {
public void setDelete( double delete ) {
this.delete = delete;
}
public long getCreate() {
public double getCreate() {
return create;
}
public void setCreate(long create) {
public void setCreate( double create ) {
this.create = create;
}
public long getExists() {
public double getExists() {
return exists;
}
public void setExists(long exists) {
public void setExists( double exists ) {
this.exists = exists;
}
public long getGetData() {
public double getGetData() {
return getData;
}
public void setGetData(long getData) {
public void setGetData( double getData ) {
this.getData = getData;
}
@Override
public String toString() {
return "RTStats{" +
"createSession=" + createSession +
", setData=" + setData +
", getChildren=" + getChildren +
", delete=" + delete +
", create=" + create +
", exists=" + exists +
", getData=" + getData +
'}';
return "RWStatistics [getChildren2=" + getChildren2 + ", createSession=" + createSession + ", closeSession=" + closeSession
+ ", setData=" + setData + ", setWatches=" + setWatches + ", getChildren=" + getChildren + ", delete=" + delete
+ ", create=" + create + ", exists=" + exists + ", getData=" + getData + "]";
}
}
public RWStatistics getRwps() {
return rwps;
}
public void setRwps( RWStatistics rwps ) {
this.rwps = rwps;
}
public RWStatistics getRwps() {
return rwps;
}
public RTStats getRtStats() {
return rtStats;
}
public void setRtStats(RTStats rtStats) {
this.rtStats = rtStats;
public void setRwps( RWStatistics rwps ) {
this.rwps = rwps;
}
}
}
Oops, something went wrong.

0 comments on commit 5edb7fe

Please sign in to comment.