1 package org.objectweb.celtix.workqueue; 2 3 public interface WorkQueueManager { 4 5 enum ThreadingModel { 6 SINGLE_THREADED, MULTI_THREADED 7 }; 8 9 13 AutomaticWorkQueue getAutomaticWorkQueue(); 14 15 20 ThreadingModel getThreadingModel(); 21 22 27 void setThreadingModel(ThreadingModel model); 28 29 35 void shutdown(boolean processRemainingTasks); 36 37 41 void run(); 42 } 43 | Popular Tags |