001: /*
002: * Generated by Cougaar QoS FrameGen
003: * from c:\marla\mmon\cougaar\HEAD\qos\src\org\cougaar\core\qos\frame\topology\cougaar-topology-protos.xml
004: * at Mar 14, 2007 4:18:10 PM
005: *
006: * Copyright BBN Technologies 2006
007: *
008: */
009: package org.cougaar.core.qos.frame.topology;
010:
011: import org.cougaar.core.qos.frame.DataFrame;
012: import org.cougaar.core.qos.frame.FrameSet;
013: import org.cougaar.core.qos.frame.SlotDescription;
014: import org.cougaar.core.qos.metrics.Metric;
015: import org.cougaar.core.util.UID;
016:
017: public class Indicator extends Thing {
018: static {
019: org.cougaar.core.qos.frame.FrameMaker __fm = new org.cougaar.core.qos.frame.FrameMaker() {
020: public DataFrame makeFrame(FrameSet frameSet, UID uid) {
021: return new Indicator(frameSet, uid);
022: }
023: };
024: DataFrame.registerFrameMaker(
025: "org.cougaar.core.qos.frame.topology", "indicator",
026: __fm);
027: }
028: private String status;
029:
030: public Indicator(UID uid) {
031: this (null, uid);
032: }
033:
034: public Indicator(FrameSet frameSet, UID uid) {
035: super (frameSet, uid);
036: initializeStatus("unknown");
037: }
038:
039: public String getKind() {
040: return "indicator";
041: }
042:
043: protected void collectSlotValues(java.util.Properties __props) {
044: super .collectSlotValues(__props);
045: Object __value;
046: __value = getStatus__AsObject();
047: __props.put("status", __value != null ? __value : NIL);
048: }
049:
050: protected void collectContainerSlotValues(
051: java.util.Properties __props) {
052: super .collectContainerSlotValues(__props);
053: Object __value;
054: __value = getBytesIn__AsObject();
055: __props.put("bytesIn", __value != null ? __value : NIL);
056: __value = getJips__AsObject();
057: __props.put("jips", __value != null ? __value : NIL);
058: __value = getPersistSizeLast__AsObject();
059: __props.put("persistSizeLast", __value != null ? __value : NIL);
060: __value = getCpuLoadMJips__AsObject();
061: __props.put("cpuLoadMJips", __value != null ? __value : NIL);
062: __value = getHeardFrom__AsObject();
063: __props.put("heardFrom", __value != null ? __value : NIL);
064: __value = getLoadAverage__AsObject();
065: __props.put("loadAverage", __value != null ? __value : NIL);
066: __value = getCpuLoadAverage__AsObject();
067: __props.put("cpuLoadAverage", __value != null ? __value : NIL);
068: __value = getMsgIn__AsObject();
069: __props.put("msgIn", __value != null ? __value : NIL);
070: __value = getEffectiveMJips__AsObject();
071: __props.put("effectiveMJips", __value != null ? __value : NIL);
072: __value = getCount__AsObject();
073: __props.put("count", __value != null ? __value : NIL);
074: __value = getBytesOut__AsObject();
075: __props.put("bytesOut", __value != null ? __value : NIL);
076: __value = getMsgOut__AsObject();
077: __props.put("msgOut", __value != null ? __value : NIL);
078: __value = getVmSize__AsObject();
079: __props.put("vmSize", __value != null ? __value : NIL);
080: }
081:
082: public String getStatus() {
083: return status;
084: }
085:
086: String getStatus__NoWarn() {
087: return status;
088: }
089:
090: Object getStatus__AsObject() {
091: return status;
092: }
093:
094: public void setStatus(String __new_value) {
095: String __old_value = status;
096: this .status = __new_value;
097: slotModified("status", __old_value, __new_value, true, true);
098: }
099:
100: public void setStatus__AsObject(Object __new_value) {
101: Object __old_value = getStatus__AsObject();
102: this .status = force_String(__new_value);
103: slotModified("status", __old_value, __new_value, true, true);
104: }
105:
106: protected void initializeStatus(String new_value) {
107: this .status = new_value;
108: slotInitialized("status", new_value);
109: }
110:
111: void initializeStatus__AsObject(Object new_value) {
112: this .status = force_String(new_value);
113: slotInitialized("status", new_value);
114: }
115:
116: public Metric getBytesIn() {
117: Object __raw_container = containerFrame();
118: if (__raw_container == null)
119: return null;
120: if (!(__raw_container instanceof Agent))
121: throw new RuntimeException("Bogus container!");
122: Agent __container = (Agent) __raw_container;
123: return __container.getBytesIn();
124: }
125:
126: Object getBytesIn__AsObject() {
127: Object __raw_container = containerFrame();
128: if (__raw_container == null)
129: return null;
130: if (!(__raw_container instanceof Agent)) {
131: getLogger().warn(
132: "Container of " + this + " is not a Agent: "
133: + __raw_container);
134: return null;
135: }
136: Agent __container = (Agent) __raw_container;
137: return __container.getBytesIn__AsObject();
138: }
139:
140: public Metric getJips() {
141: Object __raw_container = containerFrame();
142: if (__raw_container == null)
143: return null;
144: if (!(__raw_container instanceof Agent))
145: throw new RuntimeException("Bogus container!");
146: Agent __container = (Agent) __raw_container;
147: return __container.getJips();
148: }
149:
150: Object getJips__AsObject() {
151: Object __raw_container = containerFrame();
152: if (__raw_container == null)
153: return null;
154: if (!(__raw_container instanceof Agent)) {
155: getLogger().warn(
156: "Container of " + this + " is not a Agent: "
157: + __raw_container);
158: return null;
159: }
160: Agent __container = (Agent) __raw_container;
161: return __container.getJips__AsObject();
162: }
163:
164: public Metric getPersistSizeLast() {
165: Object __raw_container = containerFrame();
166: if (__raw_container == null)
167: return null;
168: if (!(__raw_container instanceof Agent))
169: throw new RuntimeException("Bogus container!");
170: Agent __container = (Agent) __raw_container;
171: return __container.getPersistSizeLast();
172: }
173:
174: Object getPersistSizeLast__AsObject() {
175: Object __raw_container = containerFrame();
176: if (__raw_container == null)
177: return null;
178: if (!(__raw_container instanceof Agent)) {
179: getLogger().warn(
180: "Container of " + this + " is not a Agent: "
181: + __raw_container);
182: return null;
183: }
184: Agent __container = (Agent) __raw_container;
185: return __container.getPersistSizeLast__AsObject();
186: }
187:
188: public Metric getCpuLoadMJips() {
189: Object __raw_container = containerFrame();
190: if (__raw_container == null)
191: return null;
192: if (!(__raw_container instanceof Agent))
193: throw new RuntimeException("Bogus container!");
194: Agent __container = (Agent) __raw_container;
195: return __container.getCpuLoadMJips();
196: }
197:
198: Object getCpuLoadMJips__AsObject() {
199: Object __raw_container = containerFrame();
200: if (__raw_container == null)
201: return null;
202: if (!(__raw_container instanceof Agent)) {
203: getLogger().warn(
204: "Container of " + this + " is not a Agent: "
205: + __raw_container);
206: return null;
207: }
208: Agent __container = (Agent) __raw_container;
209: return __container.getCpuLoadMJips__AsObject();
210: }
211:
212: public Metric getHeardFrom() {
213: Object __raw_container = containerFrame();
214: if (__raw_container == null)
215: return null;
216: if (!(__raw_container instanceof Agent))
217: throw new RuntimeException("Bogus container!");
218: Agent __container = (Agent) __raw_container;
219: return __container.getHeardFrom();
220: }
221:
222: Object getHeardFrom__AsObject() {
223: Object __raw_container = containerFrame();
224: if (__raw_container == null)
225: return null;
226: if (!(__raw_container instanceof Agent)) {
227: getLogger().warn(
228: "Container of " + this + " is not a Agent: "
229: + __raw_container);
230: return null;
231: }
232: Agent __container = (Agent) __raw_container;
233: return __container.getHeardFrom__AsObject();
234: }
235:
236: public Metric getLoadAverage() {
237: Object __raw_container = containerFrame();
238: if (__raw_container == null)
239: return null;
240: if (!(__raw_container instanceof Agent))
241: throw new RuntimeException("Bogus container!");
242: Agent __container = (Agent) __raw_container;
243: return __container.getLoadAverage();
244: }
245:
246: Object getLoadAverage__AsObject() {
247: Object __raw_container = containerFrame();
248: if (__raw_container == null)
249: return null;
250: if (!(__raw_container instanceof Agent)) {
251: getLogger().warn(
252: "Container of " + this + " is not a Agent: "
253: + __raw_container);
254: return null;
255: }
256: Agent __container = (Agent) __raw_container;
257: return __container.getLoadAverage__AsObject();
258: }
259:
260: public Metric getCpuLoadAverage() {
261: Object __raw_container = containerFrame();
262: if (__raw_container == null)
263: return null;
264: if (!(__raw_container instanceof Agent))
265: throw new RuntimeException("Bogus container!");
266: Agent __container = (Agent) __raw_container;
267: return __container.getCpuLoadAverage();
268: }
269:
270: Object getCpuLoadAverage__AsObject() {
271: Object __raw_container = containerFrame();
272: if (__raw_container == null)
273: return null;
274: if (!(__raw_container instanceof Agent)) {
275: getLogger().warn(
276: "Container of " + this + " is not a Agent: "
277: + __raw_container);
278: return null;
279: }
280: Agent __container = (Agent) __raw_container;
281: return __container.getCpuLoadAverage__AsObject();
282: }
283:
284: public Metric getMsgIn() {
285: Object __raw_container = containerFrame();
286: if (__raw_container == null)
287: return null;
288: if (!(__raw_container instanceof Agent))
289: throw new RuntimeException("Bogus container!");
290: Agent __container = (Agent) __raw_container;
291: return __container.getMsgIn();
292: }
293:
294: Object getMsgIn__AsObject() {
295: Object __raw_container = containerFrame();
296: if (__raw_container == null)
297: return null;
298: if (!(__raw_container instanceof Agent)) {
299: getLogger().warn(
300: "Container of " + this + " is not a Agent: "
301: + __raw_container);
302: return null;
303: }
304: Agent __container = (Agent) __raw_container;
305: return __container.getMsgIn__AsObject();
306: }
307:
308: public Metric getEffectiveMJips() {
309: Object __raw_container = containerFrame();
310: if (__raw_container == null)
311: return null;
312: if (!(__raw_container instanceof Agent))
313: throw new RuntimeException("Bogus container!");
314: Agent __container = (Agent) __raw_container;
315: return __container.getEffectiveMJips();
316: }
317:
318: Object getEffectiveMJips__AsObject() {
319: Object __raw_container = containerFrame();
320: if (__raw_container == null)
321: return null;
322: if (!(__raw_container instanceof Agent)) {
323: getLogger().warn(
324: "Container of " + this + " is not a Agent: "
325: + __raw_container);
326: return null;
327: }
328: Agent __container = (Agent) __raw_container;
329: return __container.getEffectiveMJips__AsObject();
330: }
331:
332: public Metric getCount() {
333: Object __raw_container = containerFrame();
334: if (__raw_container == null)
335: return null;
336: if (!(__raw_container instanceof Agent))
337: throw new RuntimeException("Bogus container!");
338: Agent __container = (Agent) __raw_container;
339: return __container.getCount();
340: }
341:
342: Object getCount__AsObject() {
343: Object __raw_container = containerFrame();
344: if (__raw_container == null)
345: return null;
346: if (!(__raw_container instanceof Agent)) {
347: getLogger().warn(
348: "Container of " + this + " is not a Agent: "
349: + __raw_container);
350: return null;
351: }
352: Agent __container = (Agent) __raw_container;
353: return __container.getCount__AsObject();
354: }
355:
356: public Metric getBytesOut() {
357: Object __raw_container = containerFrame();
358: if (__raw_container == null)
359: return null;
360: if (!(__raw_container instanceof Agent))
361: throw new RuntimeException("Bogus container!");
362: Agent __container = (Agent) __raw_container;
363: return __container.getBytesOut();
364: }
365:
366: Object getBytesOut__AsObject() {
367: Object __raw_container = containerFrame();
368: if (__raw_container == null)
369: return null;
370: if (!(__raw_container instanceof Agent)) {
371: getLogger().warn(
372: "Container of " + this + " is not a Agent: "
373: + __raw_container);
374: return null;
375: }
376: Agent __container = (Agent) __raw_container;
377: return __container.getBytesOut__AsObject();
378: }
379:
380: public Metric getMsgOut() {
381: Object __raw_container = containerFrame();
382: if (__raw_container == null)
383: return null;
384: if (!(__raw_container instanceof Agent))
385: throw new RuntimeException("Bogus container!");
386: Agent __container = (Agent) __raw_container;
387: return __container.getMsgOut();
388: }
389:
390: Object getMsgOut__AsObject() {
391: Object __raw_container = containerFrame();
392: if (__raw_container == null)
393: return null;
394: if (!(__raw_container instanceof Agent)) {
395: getLogger().warn(
396: "Container of " + this + " is not a Agent: "
397: + __raw_container);
398: return null;
399: }
400: Agent __container = (Agent) __raw_container;
401: return __container.getMsgOut__AsObject();
402: }
403:
404: public Metric getVmSize() {
405: Object __raw_container = containerFrame();
406: if (__raw_container == null)
407: return null;
408: if (!(__raw_container instanceof Agent))
409: throw new RuntimeException("Bogus container!");
410: Agent __container = (Agent) __raw_container;
411: return __container.getVmSize();
412: }
413:
414: Object getVmSize__AsObject() {
415: Object __raw_container = containerFrame();
416: if (__raw_container == null)
417: return null;
418: if (!(__raw_container instanceof Agent)) {
419: getLogger().warn(
420: "Container of " + this + " is not a Agent: "
421: + __raw_container);
422: return null;
423: }
424: Agent __container = (Agent) __raw_container;
425: return __container.getVmSize__AsObject();
426: }
427:
428: protected void fireContainerChanges(DataFrame __raw_old,
429: DataFrame __raw_new) {
430: if (!(__raw_old instanceof Agent)) {
431: getLogger().warn(
432: "Container of " + this + " is not a Agent: "
433: + __raw_old);
434: return;
435: }
436: if (!(__raw_new instanceof Agent)) {
437: getLogger().warn(
438: "Container of " + this + " is not a Agent: "
439: + __raw_new);
440: return;
441: }
442: Agent __old_frame = (Agent) __raw_old;
443: Agent __new_frame = (Agent) __raw_new;
444: Object __old;
445: Object __new;
446: __old = __old_frame.getBytesIn__AsObject();
447: __new = __new_frame.getBytesIn__AsObject();
448: if (__new != null) {
449: if (__old == null || !__old.equals(__new)) {
450: fireChange("bytesIn", __old, __new);
451: }
452: }
453: __old = __old_frame.getJips__AsObject();
454: __new = __new_frame.getJips__AsObject();
455: if (__new != null) {
456: if (__old == null || !__old.equals(__new)) {
457: fireChange("jips", __old, __new);
458: }
459: }
460: __old = __old_frame.getPersistSizeLast__AsObject();
461: __new = __new_frame.getPersistSizeLast__AsObject();
462: if (__new != null) {
463: if (__old == null || !__old.equals(__new)) {
464: fireChange("persistSizeLast", __old, __new);
465: }
466: }
467: __old = __old_frame.getCpuLoadMJips__AsObject();
468: __new = __new_frame.getCpuLoadMJips__AsObject();
469: if (__new != null) {
470: if (__old == null || !__old.equals(__new)) {
471: fireChange("cpuLoadMJips", __old, __new);
472: }
473: }
474: __old = __old_frame.getHeardFrom__AsObject();
475: __new = __new_frame.getHeardFrom__AsObject();
476: if (__new != null) {
477: if (__old == null || !__old.equals(__new)) {
478: fireChange("heardFrom", __old, __new);
479: }
480: }
481: __old = __old_frame.getLoadAverage__AsObject();
482: __new = __new_frame.getLoadAverage__AsObject();
483: if (__new != null) {
484: if (__old == null || !__old.equals(__new)) {
485: fireChange("loadAverage", __old, __new);
486: }
487: }
488: __old = __old_frame.getCpuLoadAverage__AsObject();
489: __new = __new_frame.getCpuLoadAverage__AsObject();
490: if (__new != null) {
491: if (__old == null || !__old.equals(__new)) {
492: fireChange("cpuLoadAverage", __old, __new);
493: }
494: }
495: __old = __old_frame.getMsgIn__AsObject();
496: __new = __new_frame.getMsgIn__AsObject();
497: if (__new != null) {
498: if (__old == null || !__old.equals(__new)) {
499: fireChange("msgIn", __old, __new);
500: }
501: }
502: __old = __old_frame.getEffectiveMJips__AsObject();
503: __new = __new_frame.getEffectiveMJips__AsObject();
504: if (__new != null) {
505: if (__old == null || !__old.equals(__new)) {
506: fireChange("effectiveMJips", __old, __new);
507: }
508: }
509: __old = __old_frame.getCount__AsObject();
510: __new = __new_frame.getCount__AsObject();
511: if (__new != null) {
512: if (__old == null || !__old.equals(__new)) {
513: fireChange("count", __old, __new);
514: }
515: }
516: __old = __old_frame.getBytesOut__AsObject();
517: __new = __new_frame.getBytesOut__AsObject();
518: if (__new != null) {
519: if (__old == null || !__old.equals(__new)) {
520: fireChange("bytesOut", __old, __new);
521: }
522: }
523: __old = __old_frame.getMsgOut__AsObject();
524: __new = __new_frame.getMsgOut__AsObject();
525: if (__new != null) {
526: if (__old == null || !__old.equals(__new)) {
527: fireChange("msgOut", __old, __new);
528: }
529: }
530: __old = __old_frame.getVmSize__AsObject();
531: __new = __new_frame.getVmSize__AsObject();
532: if (__new != null) {
533: if (__old == null || !__old.equals(__new)) {
534: fireChange("vmSize", __old, __new);
535: }
536: }
537: }
538:
539: protected void fireContainerChanges(DataFrame __raw) {
540: if (!(__raw instanceof Agent)) {
541: getLogger().warn(
542: "Container of " + this + " is not a Agent: "
543: + __raw);
544: return;
545: }
546: Agent __new_frame = (Agent) __raw;
547: Object __new;
548: __new = __new_frame.getBytesIn__AsObject();
549: if (__new != null) {
550: fireChange("bytesIn", null, __new);
551: }
552: __new = __new_frame.getJips__AsObject();
553: if (__new != null) {
554: fireChange("jips", null, __new);
555: }
556: __new = __new_frame.getPersistSizeLast__AsObject();
557: if (__new != null) {
558: fireChange("persistSizeLast", null, __new);
559: }
560: __new = __new_frame.getCpuLoadMJips__AsObject();
561: if (__new != null) {
562: fireChange("cpuLoadMJips", null, __new);
563: }
564: __new = __new_frame.getHeardFrom__AsObject();
565: if (__new != null) {
566: fireChange("heardFrom", null, __new);
567: }
568: __new = __new_frame.getLoadAverage__AsObject();
569: if (__new != null) {
570: fireChange("loadAverage", null, __new);
571: }
572: __new = __new_frame.getCpuLoadAverage__AsObject();
573: if (__new != null) {
574: fireChange("cpuLoadAverage", null, __new);
575: }
576: __new = __new_frame.getMsgIn__AsObject();
577: if (__new != null) {
578: fireChange("msgIn", null, __new);
579: }
580: __new = __new_frame.getEffectiveMJips__AsObject();
581: if (__new != null) {
582: fireChange("effectiveMJips", null, __new);
583: }
584: __new = __new_frame.getCount__AsObject();
585: if (__new != null) {
586: fireChange("count", null, __new);
587: }
588: __new = __new_frame.getBytesOut__AsObject();
589: if (__new != null) {
590: fireChange("bytesOut", null, __new);
591: }
592: __new = __new_frame.getMsgOut__AsObject();
593: if (__new != null) {
594: fireChange("msgOut", null, __new);
595: }
596: __new = __new_frame.getVmSize__AsObject();
597: if (__new != null) {
598: fireChange("vmSize", null, __new);
599: }
600: }
601:
602: protected Object getLocalValue(String __slot) {
603: String __key = __slot.intern();
604: if ("bytesIn" == __key)
605: return getBytesIn__AsObject();
606: else if ("jips" == __key)
607: return getJips__AsObject();
608: else if ("persistSizeLast" == __key)
609: return getPersistSizeLast__AsObject();
610: else if ("status" == __key)
611: return getStatus__AsObject();
612: else if ("cpuLoadMJips" == __key)
613: return getCpuLoadMJips__AsObject();
614: else if ("heardFrom" == __key)
615: return getHeardFrom__AsObject();
616: else if ("loadAverage" == __key)
617: return getLoadAverage__AsObject();
618: else if ("cpuLoadAverage" == __key)
619: return getCpuLoadAverage__AsObject();
620: else if ("msgIn" == __key)
621: return getMsgIn__AsObject();
622: else if ("effectiveMJips" == __key)
623: return getEffectiveMJips__AsObject();
624: else if ("count" == __key)
625: return getCount__AsObject();
626: else if ("bytesOut" == __key)
627: return getBytesOut__AsObject();
628: else if ("name" == __key)
629: return getName__AsObject();
630: else if ("msgOut" == __key)
631: return getMsgOut__AsObject();
632: else if ("vmSize" == __key)
633: return getVmSize__AsObject();
634: else
635: return super .getLocalValue(__slot);
636: }
637:
638: protected void setLocalValue(String __slot, Object __value) {
639: String __key = __slot.intern();
640: if ("status" == __key)
641: setStatus__AsObject(__value);
642: else
643: super .setLocalValue(__slot, __value);
644: }
645:
646: protected void initializeLocalValue(String __slot, Object __value) {
647: String __key = __slot.intern();
648: if ("status" == __key)
649: initializeStatus__AsObject(__value);
650: else
651: super .initializeLocalValue(__slot, __value);
652: }
653:
654: protected void collectSlotNames(java.util.Set<String> slots) {
655: super .collectSlotNames(slots);
656: slots.add("status");
657: slots.add("bytesIn");
658: slots.add("jips");
659: slots.add("persistSizeLast");
660: slots.add("cpuLoadMJips");
661: slots.add("heardFrom");
662: slots.add("loadAverage");
663: slots.add("cpuLoadAverage");
664: slots.add("msgIn");
665: slots.add("effectiveMJips");
666: slots.add("count");
667: slots.add("bytesOut");
668: slots.add("msgOut");
669: slots.add("vmSize");
670: }
671:
672: public SlotDescription slotMetaData__Status() {
673: SlotDescription __desc = new SlotDescription();
674: __desc.name = "status";
675: __desc.prototype = "indicator";
676: __desc.is_writable = true;
677: Object __value;
678: __value = status;
679: if (__value != null) {
680: __desc.is_overridden = true;
681: __desc.value = __value;
682: } else {
683: __desc.is_overridden = false;
684: __desc.value = "unknown";
685: }
686: return __desc;
687: }
688:
689: public SlotDescription slotMetaData__BytesIn() {
690: SlotDescription __desc = new SlotDescription();
691: __desc.name = "bytesIn";
692: __desc.prototype = "agent";
693: __desc.value = getBytesIn__AsObject();
694: __desc.is_overridden = false;
695: __desc.is_writable = false;
696: return __desc;
697: }
698:
699: public SlotDescription slotMetaData__Jips() {
700: SlotDescription __desc = new SlotDescription();
701: __desc.name = "jips";
702: __desc.prototype = "host";
703: __desc.value = getJips__AsObject();
704: __desc.is_overridden = false;
705: __desc.is_writable = false;
706: return __desc;
707: }
708:
709: public SlotDescription slotMetaData__PersistSizeLast() {
710: SlotDescription __desc = new SlotDescription();
711: __desc.name = "persistSizeLast";
712: __desc.prototype = "agent";
713: __desc.value = getPersistSizeLast__AsObject();
714: __desc.is_overridden = false;
715: __desc.is_writable = false;
716: return __desc;
717: }
718:
719: public SlotDescription slotMetaData__CpuLoadMJips() {
720: SlotDescription __desc = new SlotDescription();
721: __desc.name = "cpuLoadMJips";
722: __desc.prototype = "agent";
723: __desc.value = getCpuLoadMJips__AsObject();
724: __desc.is_overridden = false;
725: __desc.is_writable = false;
726: return __desc;
727: }
728:
729: public SlotDescription slotMetaData__HeardFrom() {
730: SlotDescription __desc = new SlotDescription();
731: __desc.name = "heardFrom";
732: __desc.prototype = "agent";
733: __desc.value = getHeardFrom__AsObject();
734: __desc.is_overridden = false;
735: __desc.is_writable = false;
736: return __desc;
737: }
738:
739: public SlotDescription slotMetaData__LoadAverage() {
740: SlotDescription __desc = new SlotDescription();
741: __desc.name = "loadAverage";
742: __desc.prototype = "host";
743: __desc.value = getLoadAverage__AsObject();
744: __desc.is_overridden = false;
745: __desc.is_writable = false;
746: return __desc;
747: }
748:
749: public SlotDescription slotMetaData__CpuLoadAverage() {
750: SlotDescription __desc = new SlotDescription();
751: __desc.name = "cpuLoadAverage";
752: __desc.prototype = "agent";
753: __desc.value = getCpuLoadAverage__AsObject();
754: __desc.is_overridden = false;
755: __desc.is_writable = false;
756: return __desc;
757: }
758:
759: public SlotDescription slotMetaData__MsgIn() {
760: SlotDescription __desc = new SlotDescription();
761: __desc.name = "msgIn";
762: __desc.prototype = "agent";
763: __desc.value = getMsgIn__AsObject();
764: __desc.is_overridden = false;
765: __desc.is_writable = false;
766: return __desc;
767: }
768:
769: public SlotDescription slotMetaData__EffectiveMJips() {
770: SlotDescription __desc = new SlotDescription();
771: __desc.name = "effectiveMJips";
772: __desc.prototype = "host";
773: __desc.value = getEffectiveMJips__AsObject();
774: __desc.is_overridden = false;
775: __desc.is_writable = false;
776: return __desc;
777: }
778:
779: public SlotDescription slotMetaData__Count() {
780: SlotDescription __desc = new SlotDescription();
781: __desc.name = "count";
782: __desc.prototype = "host";
783: __desc.value = getCount__AsObject();
784: __desc.is_overridden = false;
785: __desc.is_writable = false;
786: return __desc;
787: }
788:
789: public SlotDescription slotMetaData__BytesOut() {
790: SlotDescription __desc = new SlotDescription();
791: __desc.name = "bytesOut";
792: __desc.prototype = "agent";
793: __desc.value = getBytesOut__AsObject();
794: __desc.is_overridden = false;
795: __desc.is_writable = false;
796: return __desc;
797: }
798:
799: public SlotDescription slotMetaData__MsgOut() {
800: SlotDescription __desc = new SlotDescription();
801: __desc.name = "msgOut";
802: __desc.prototype = "agent";
803: __desc.value = getMsgOut__AsObject();
804: __desc.is_overridden = false;
805: __desc.is_writable = false;
806: return __desc;
807: }
808:
809: public SlotDescription slotMetaData__VmSize() {
810: SlotDescription __desc = new SlotDescription();
811: __desc.name = "vmSize";
812: __desc.prototype = "node";
813: __desc.value = getVmSize__AsObject();
814: __desc.is_overridden = false;
815: __desc.is_writable = false;
816: return __desc;
817: }
818:
819: protected void collectSlotDescriptions(
820: java.util.Map<String, SlotDescription> map) {
821: super .collectSlotDescriptions(map);
822: map.put("status", slotMetaData__Status());
823: map.put("bytesIn", slotMetaData__BytesIn());
824: map.put("jips", slotMetaData__Jips());
825: map.put("persistSizeLast", slotMetaData__PersistSizeLast());
826: map.put("cpuLoadMJips", slotMetaData__CpuLoadMJips());
827: map.put("heardFrom", slotMetaData__HeardFrom());
828: map.put("loadAverage", slotMetaData__LoadAverage());
829: map.put("cpuLoadAverage", slotMetaData__CpuLoadAverage());
830: map.put("msgIn", slotMetaData__MsgIn());
831: map.put("effectiveMJips", slotMetaData__EffectiveMJips());
832: map.put("count", slotMetaData__Count());
833: map.put("bytesOut", slotMetaData__BytesOut());
834: map.put("msgOut", slotMetaData__MsgOut());
835: map.put("vmSize", slotMetaData__VmSize());
836: }
837: }
|