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 PendingWritesCollector extends AbstractSchedulerDataCollector 36 { 37 38 private static final long serialVersionUID = 2073503605313469684L; 39 40 45 public PendingWritesCollector(String virtualDatabaseName) 46 { 47 super(virtualDatabaseName); 48 } 49 50 53 public long getValue(Object scheduler) 54 { 55 return ((AbstractScheduler) scheduler).getPendingWrites(); 56 } 57 58 61 public String getDescription() 62 { 63 return Translate.get("monitoring.scheduler.pending.writes"); 64 } 65 } 66 | Popular Tags |