Search in sources :

Example 1 with SimpleOrderedThreadPool

use of com.navercorp.pinpoint.web.util.SimpleOrderedThreadPool in project pinpoint by naver.

the class ActiveThreadCountHandler method start.

@Override
public void start() {
    PinpointThreadFactory flushThreadFactory = new PinpointThreadFactory(ClassUtils.simpleClassName(this) + "-Flush-Thread", true);
    webSocketFlushExecutor = new SimpleOrderedThreadPool(Runtime.getRuntime().availableProcessors(), 65535, flushThreadFactory);
    flushTimer = new java.util.Timer(ClassUtils.simpleClassName(this) + "-Flush-Timer", true);
    healthCheckTimer = new java.util.Timer(ClassUtils.simpleClassName(this) + "-HealthCheck-Timer", true);
    reactiveTimer = new java.util.Timer(ClassUtils.simpleClassName(this) + "-Reactive-Timer", true);
}
Also used : SimpleOrderedThreadPool(com.navercorp.pinpoint.web.util.SimpleOrderedThreadPool) PinpointThreadFactory(com.navercorp.pinpoint.common.util.PinpointThreadFactory)

Aggregations

PinpointThreadFactory (com.navercorp.pinpoint.common.util.PinpointThreadFactory)1 SimpleOrderedThreadPool (com.navercorp.pinpoint.web.util.SimpleOrderedThreadPool)1