1 23 24 package com.sun.enterprise.connectors.work.monitor; 25 26 import javax.resource.spi.work.WorkManager ; 27 28 34 public interface MonitorableWorkManager extends WorkManager { 35 36 public boolean isMonitoringEnabled(); 37 38 public void setMonitoringEnabled(boolean isEnabled); 40 41 public long getCurrentActiveWorkCount(); 42 public long getMaxActiveWorkCount(); 43 public long getMinActiveWorkCount(); 44 45 46 public long getWaitQueueLength(); 47 public long getMaxWaitQueueLength(); 48 public long getMinWaitQueueLength(); 49 50 51 public long getSubmittedWorkCount(); 52 53 public long getRejectedWorkCount(); 54 55 public long getCompletedWorkCount(); 56 57 public long getMaxWorkRequestWaitTime(); 58 public long getMinWorkRequestWaitTime(); 59 } | Popular Tags |