content: /*
   * Copyright 1999-2012 Alibaba Group.
   *  
   * Licensed 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 com.alibaba.cobar.manager.dataobject.cobarnode;
  
  /**
   * (created at 2010-7-26)
   * 
   * @author <a href="mailto:shuo.qius@alibaba-inc.com">QIU Shuo</a>
   * @author wenfeng.cenwf 2011-4-15
   * @author haiqing.zhuhq 2011-7-12
   */
  public class DataNodesStatus extends TimeStampedVO {
  
      private String poolName;
      private String dataSource;
      private String type;
      private int index;
      private int active;
      private int idle;
      private int size;
      private long executeCount;
      private long totalTime;
      private long maxTime;
      private long maxSQL;
      private long recoveryTime;
  
      public String getPoolName() {
          return poolName;
      }
  
      public void setPoolName(String poolName) {
          this.poolName = poolName;
      }
  
      public String getDataSource() {
          return dataSource;
      }
  
      public void setDataSource(String dataSource) {
          this.dataSource = dataSource;
      }
  
      public String getType() {
          return type;
      }
  
      public void setType(String type) {
          this.type = type;
      }
  
      public int getActive() {
          return active;
      }
  
      public int getSize() {
          return size;
      }
  
      public void setSize(int size) {
          this.size = size;
      }
  
      public void setActive(int active) {
          this.active = active;
      }
  
      public int getIdle() {
          return idle;
      }
  
      public void setIdle(int idle) {
          this.idle = idle;
      }
  
      public long getExecuteCount() {
          return executeCount;
      }
  
      public void setExecuteCount(long executeCount) {
          this.executeCount = executeCount;
      }
  
      public long getMaxSQL() {
          return maxSQL;
      }
  
      public void setMaxSQL(long maxSQL) {
          this.maxSQL = maxSQL;
      }
  
      public int getIndex() {
          return index;
      }
  
      public void setIndex(int index) {
          this.index = index;
      }
  
      public long getTotalTime() {
          return totalTime;
      }
  
      public void setTotalTime(long totalTime) {
          this.totalTime = totalTime;
      }
  
      public long getMaxTime() {
          return maxTime;
      }
  
      public void setMaxTime(long maxTime) {
          this.maxTime = maxTime;
      }
  
      public long getRecoveryTime() {
          return recoveryTime;
      }
  
      public void setRecoveryTime(long recoveryTime) {
          this.recoveryTime = recoveryTime;
      }
  
  }
  