001 /* 002 * MonaLisaHostInfo.java 003 * 004 * Created on September 15, 2004, 11:12 AM 005 * 006 * This file is part of the STAR Scheduler. 007 * Copyright (c) 2002-2006 STAR Collaboration - Brookhaven National Laboratory 008 * 009 * STAR Scheduler is free software; you can redistribute it and/or modify 010 * it under the terms of the GNU General Public License as published by 011 * the Free Software Foundation; either version 2 of the License, or 012 * (at your option) any later version. 013 * 014 * STAR Scheduler is distributed in the hope that it will be useful, 015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 017 * GNU General Public License for more details. 018 * 019 * You should have received a copy of the GNU General Public License 020 * along with STAR Scheduler; if not, write to the Free Software 021 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 022 */ 023 024 package gov.bnl.star.offline.scheduler.monitor; 025 026 /** 027 * @author stratos 028 */ 029 public class MonaLisaHostInfo { 030 031 /** Creates a new instance of MonaLisaHostInfo */ 032 public MonaLisaHostInfo() { 033 } 034 035 /** 036 * Holds value of property load1m. 037 */ 038 private double load1m; 039 040 /** 041 * Holds value of property hostName. 042 */ 043 private String hostName; 044 045 /** 046 * Holds value of property load5m. 047 */ 048 private double load5m; 049 050 /** 051 * Holds value of property load15m. 052 */ 053 private double load15m; 054 055 /** 056 * Holds value of property noCPUs. 057 */ 058 private double noCPUs; 059 060 /** 061 * Holds value of property MEM_free. 062 */ 063 private long MEM_free; 064 065 /** 066 * Getter for property load1m. 067 * @return Value of property load1m. 068 */ 069 public double getLoad1m() { 070 return this.load1m; 071 } 072 073 /** 074 * Setter for property load1m. 075 * @param load1m New value of property load1m. 076 */ 077 public void setLoad1m(double load1m) { 078 this.load1m = load1m; 079 } 080 081 /** 082 * Getter for property hostName. 083 * @return Value of property hostName. 084 */ 085 public String getHostName() { 086 return this.hostName; 087 } 088 089 /** 090 * Setter for property hostName. 091 * @param hostName New value of property hostName. 092 */ 093 public void setHostName(String hostName) { 094 this.hostName = hostName; 095 } 096 097 /** 098 * Getter for property load5m. 099 * @return Value of property load5m. 100 */ 101 public double getLoad5m() { 102 return this.load5m; 103 } 104 105 /** 106 * Setter for property load5m. 107 * @param load5m New value of property load5m. 108 */ 109 public void setLoad5m(double load5m) { 110 this.load5m = load5m; 111 } 112 113 /** 114 * Getter for property load15m. 115 * @return Value of property load15m. 116 */ 117 public double getLoad15m() { 118 return this.load15m; 119 } 120 121 /** 122 * Setter for property load15m. 123 * @param load15m New value of property load15m. 124 */ 125 public void setLoad15m(double load15m) { 126 this.load15m = load15m; 127 } 128 129 /** 130 * Getter for property noCPUs. 131 * @return Value of property noCPUs. 132 */ 133 public double getNoCPUs() { 134 return this.noCPUs; 135 } 136 137 /** 138 * Setter for property noCPUs. 139 * @param noCPUs New value of property noCPUs. 140 */ 141 public void setNoCPUs(double noCPUs) { 142 this.noCPUs = noCPUs; 143 } 144 145 /** 146 * Getter for property MEM_free. 147 * @return Value of property MEM_free. 148 */ 149 public long getMEM_free() { 150 return this.MEM_free; 151 } 152 153 /** 154 * Setter for property MEM_free. 155 * @param MEM_free New value of property MEM_free. 156 */ 157 public void setMEM_free(long MEM_free) { 158 this.MEM_free = MEM_free; 159 } 160 161 }