1 5 6 package com.sun.corba.se.spi.orbutil.threadpool; 7 8 9 public interface ThreadPool 10 { 11 20 public WorkQueue getAnyWorkQueue(); 21 22 32 public WorkQueue getWorkQueue(int queueId) throws NoSuchWorkQueueException; 33 34 37 public int numberOfWorkQueues(); 38 39 42 public int minimumNumberOfThreads(); 43 44 48 public int maximumNumberOfThreads(); 49 50 54 public long idleTimeoutForThreads(); 55 56 60 public int currentNumberOfThreads(); 61 62 66 public int numberOfAvailableThreads(); 67 68 72 public int numberOfBusyThreads(); 73 74 77 public long currentProcessedCount(); 78 79 83 public long averageWorkCompletionTime(); 84 85 88 public String getName(); 89 90 } 91 92 | Popular Tags |