Synchronized threadpool arrays.
This commit is contained in:
parent
242b6fe756
commit
4851af4561
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
@ -101,6 +101,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task and whose get() method will return null upon completion.
|
||||
*/
|
||||
public static ScheduledFuture<?> schedule(Runnable runnable, long delay)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -111,6 +113,7 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates and executes a periodic action that becomes enabled first after the given initial delay.
|
||||
@ -120,6 +123,8 @@ public final class ThreadPool
|
||||
* @return a ScheduledFuture representing pending completion of the task, and whose get() method will throw an exception upon cancellation.
|
||||
*/
|
||||
public static ScheduledFuture<?> scheduleAtFixedRate(Runnable runnable, long initialDelay, long period)
|
||||
{
|
||||
synchronized (SCHEDULED_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -130,12 +135,15 @@ public final class ThreadPool
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the given task sometime in the future.
|
||||
* @param runnable : the task to execute.
|
||||
*/
|
||||
public static void execute(Runnable runnable)
|
||||
{
|
||||
synchronized (INSTANT_POOLS)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -145,6 +153,7 @@ public final class ThreadPool
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static String[] getStats()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user