Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Run (0.17 sec)

  1. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

                final ClassLoader orignal = currentThread.getContextClassLoader();
                currentThread.setContextClassLoader(CommonPoolUtil.class.getClassLoader());
                try {
                    task.run();
                } catch (final Exception e) {
                    logger.error("Uncaught exception from " + task, e);
                } finally {
                    currentThread.setContextClassLoader(orignal);
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         *
         * @return 管理している {@link TimeoutTask}の数
         */
        public synchronized int getTimeoutTaskCount() {
            return timeoutTaskList.size();
        }
    
        @Override
        public void run() {
            int nThreads = Runtime.getRuntime().availableProcessors() / 2;
            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
            if (StringUtil.isNotBlank(value)) {
                try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top