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 NumberReadCollector extends AbstractSchedulerDataCollector 36 { 37 private static final long serialVersionUID = -7945514135847719138L; 38 39 44 public NumberReadCollector(String virtualDatabaseName) 45 { 46 super(virtualDatabaseName); 47 } 48 49 52 public long getValue(Object scheduler) 53 { 54 return ((AbstractScheduler) scheduler).getNumberRead(); 55 } 56 57 60 public String getDescription() 61 { 62 return Translate.get("monitoring.scheduler.number.read"); 63 } 64 65 } 66 | Popular Tags |