public class DummyConcurrentFactory extends Object implements IConcurrentFactory
IConcurrentFactory.ScheduledExecServices| Constructor and Description |
|---|
DummyConcurrentFactory() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutorService |
getScheduledExecutorService(String name) |
Collection<ScheduledExecutorService> |
getScheduledExecutorServices() |
IStatistic |
getStatistic() |
List<IStatistic> |
getStatistics() |
Thread |
getThread(Runnable runnuble) |
Thread |
getThread(String namePrefix,
Runnable runnuble) |
ThreadGroup |
getThreadGroup() |
List<Thread> |
getThreads() |
void |
shutdownAllNow() |
void |
shutdownNow(ScheduledExecutorService service) |
public Thread getThread(Runnable runnuble)
getThread in interface IConcurrentFactorypublic Thread getThread(String namePrefix, Runnable runnuble)
getThread in interface IConcurrentFactorypublic List<Thread> getThreads()
getThreads in interface IConcurrentFactorypublic ThreadGroup getThreadGroup()
getThreadGroup in interface IConcurrentFactorypublic ScheduledExecutorService getScheduledExecutorService(String name)
getScheduledExecutorService in interface IConcurrentFactorypublic Collection<ScheduledExecutorService> getScheduledExecutorServices()
getScheduledExecutorServices in interface IConcurrentFactorypublic void shutdownNow(ScheduledExecutorService service)
shutdownNow in interface IConcurrentFactorypublic IStatistic getStatistic()
getStatistic in interface IConcurrentFactorypublic List<IStatistic> getStatistics()
getStatistics in interface IConcurrentFactorypublic void shutdownAllNow()
shutdownAllNow in interface IConcurrentFactoryCopyright © 2016. All Rights Reserved.