Package com.sun.corba.ee.spi.threadpool

Examples of com.sun.corba.ee.spi.threadpool.ThreadPoolManager


      if (usePassByReference) {
          policies.add(new CopyObjectPolicy(PASS_BY_REFERENCE_ID));
      }

      if (threadPoolName != null) {
          ThreadPoolManager threadPoolManager
            = S1ASThreadPoolManager.getThreadPoolManager();
          try {
            threadPoolNumericID = threadPoolManager.getThreadPoolNumericId(
            threadPoolName);
            policies.add(new RequestPartitioningPolicy(threadPoolNumericID));
          } catch (Exception ex) {
                logger.log(Level.WARNING, "Not using threadpool-request-partitioning...", ex);
          }
View Full Code Here


              orb.setThreadPoolManager(threadpoolMgr);
            }

            // Do the stats for the threadpool
           
            ThreadPoolManager tpool =  orb.getThreadPoolManager();
            // ORB creates its own threadpool if threadpoolMgr was null above
            ThreadPool thpool=tpool.getDefaultThreadPool();
            String ThreadPoolName = thpool.getName();
            ThreadPoolStats tpStats = new ThreadPoolStatsImpl(
                thpool.getWorkQueue(0).getThreadPool());
            StatsProviderManager.register("orb", PluginPoint.SERVER,
                "thread-pool/orb/threadpool/"+ThreadPoolName, tpStats);
View Full Code Here

TOP

Related Classes of com.sun.corba.ee.spi.threadpool.ThreadPoolManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.