Package com.sun.grizzly.util

Examples of com.sun.grizzly.util.ExtendedThreadPool


        countQueuedAtomic.set(0);
        countQueued.setCount(0);

        countTotalQueued.setCount(0);

        final ExtendedThreadPool threadPoolObject = threadPool;
        if (threadPoolObject != null) {
            maxQueued.setCount(threadPoolObject.getMaxQueuedTasksCount());
        }

        peakQueuedAtomic.set(0);
        peakQueued.setCount(0);
View Full Code Here


        }
    }

    @Reset
    public void reset() {
        final ExtendedThreadPool threadPoolObject = threadPool;
        if (threadPoolObject != null) {
            maxThreadsCount.setCount(threadPoolObject.getMaximumPoolSize());
            coreThreadsCount.setCount(threadPoolObject.getCorePoolSize());
            currentThreadCount.setCount(threadPoolObject.getPoolSize());
            currentThreadsBusy.setCount(threadPoolObject.getActiveCount());
        }

        totalExecutedTasksCount.setCount(0);
    }
View Full Code Here

TOP

Related Classes of com.sun.grizzly.util.ExtendedThreadPool

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.