1 24 25 package org.objectweb.cjdbc.common.monitor.scheduler; 26 27 import org.objectweb.cjdbc.common.i18n.Translate; 28 import org.objectweb.cjdbc.controller.scheduler.AbstractScheduler; 29 30 35 public class NumberWriteCollector extends AbstractSchedulerDataCollector 36 { 37 38 private static final long serialVersionUID = -6179175482578424954L; 39 40 45 public NumberWriteCollector(String virtualDatabaseName) 46 { 47 super(virtualDatabaseName); 48 } 49 50 53 public long getValue(Object scheduler) 54 { 55 return ((AbstractScheduler) scheduler).getNumberWrite(); 56 } 57 58 61 public String getDescription() 62 { 63 return Translate.get("monitoring.scheduler.number.writes"); 64 } 65 } 66 | Popular Tags |