org.jdiameter.common.impl.concurrent
Class ConcurrentFactory
java.lang.Object
org.jdiameter.common.impl.concurrent.ConcurrentFactory
- All Implemented Interfaces:
- IConcurrentFactory
public class ConcurrentFactory
- extends java.lang.Object
- implements IConcurrentFactory
- Author:
- Alexandre Mendonca , Bartosz Baranowski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentFactory
public ConcurrentFactory(Configuration config,
IStatisticManager statisticFactory,
IConcurrentEntityFactory entityFactory)
getThread
public java.lang.Thread getThread(java.lang.Runnable runnable)
- Specified by:
getThread in interface IConcurrentFactory
getThread
public java.lang.Thread getThread(java.lang.String namePrefix,
java.lang.Runnable runnuble)
- Specified by:
getThread in interface IConcurrentFactory
getThreads
public java.util.List<java.lang.Thread> getThreads()
- Specified by:
getThreads in interface IConcurrentFactory
getThreadGroup
public java.lang.ThreadGroup getThreadGroup()
- Specified by:
getThreadGroup in interface IConcurrentFactory
getScheduledExecutorService
public java.util.concurrent.ScheduledExecutorService getScheduledExecutorService(java.lang.String name)
- Specified by:
getScheduledExecutorService in interface IConcurrentFactory
getScheduledExecutorServices
public java.util.Collection<java.util.concurrent.ScheduledExecutorService> getScheduledExecutorServices()
- Specified by:
getScheduledExecutorServices in interface IConcurrentFactory
shutdownNow
public void shutdownNow(java.util.concurrent.ScheduledExecutorService service)
- Specified by:
shutdownNow in interface IConcurrentFactory
getStatistic
public IStatistic getStatistic()
- Specified by:
getStatistic in interface IConcurrentFactory
getStatistics
public java.util.List<IStatistic> getStatistics()
- Specified by:
getStatistics in interface IConcurrentFactory
shutdownAllNow
public void shutdownAllNow()
- Specified by:
shutdownAllNow in interface IConcurrentFactory
Copyright © 2014. All Rights Reserved.