Package org.jpos.util

Class ThreadPool

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ThreadPool.Supervised
      Deprecated.
       
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEFAULT_MAX_THREADS
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      ThreadPool()
      Deprecated.
      Default constructor for ThreadPool
      ThreadPool​(int poolSize, int maxPoolSize)
      Deprecated.
       
      ThreadPool​(int poolSize, int maxPoolSize, java.lang.String name)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      Deprecated.
       
      void dump​(java.io.PrintStream p, java.lang.String indent)
      Deprecated.
       
      void execute​(java.lang.Runnable action)
      Deprecated.
       
      int getActiveCount()
      Deprecated.
       
      int getAvailableCount()
      Deprecated.
       
      int getIdleCount()
      Deprecated.
       
      int getJobCount()
      Deprecated.
       
      Logger getLogger()
      Deprecated.
       
      int getMaxPoolSize()
      Deprecated.
       
      int getPendingCount()
      Deprecated.
       
      int getPoolSize()
      Deprecated.
       
      java.lang.String getRealm()
      Deprecated.
       
      static ThreadPool getThreadPool​(java.lang.String name)
      Deprecated.
      Retrieves a thread pool from NameRegistrar given its name, unique identifier.
      void setConfiguration​(Configuration cfg)
      Deprecated.
       
      void setLogger​(Logger logger, java.lang.String realm)
      Deprecated.
       
      void supervise()
      Deprecated.
       
      • Methods inherited from class java.lang.ThreadGroup

        activeCount, activeGroupCount, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, parentOf, resume, setDaemon, setMaxPriority, stop, suspend, toString, uncaughtException
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait