1 22 23 package org.continuent.sequoia.common.jmx.monitoring; 24 25 import java.io.Serializable ; 26 27 import org.continuent.sequoia.common.exceptions.DataCollectorException; 28 29 37 public abstract class AbstractDataCollector implements Serializable  38 { 39 protected transient Object controller; 40 41 47 public abstract long collectValue() throws DataCollectorException; 48 49 54 public abstract String getDescription(); 55 56 61 public abstract String getTargetName(); 62 63 68 public void setController(Object controller) 69 { 70 this.controller = controller; 71 } 72 73 } 74 | Popular Tags |