Example usage for org.springframework.scheduling.concurrent ThreadPoolTaskScheduler getScheduledThreadPoolExecutor

List of usage examples for org.springframework.scheduling.concurrent ThreadPoolTaskScheduler getScheduledThreadPoolExecutor

Introduction

In this page you can find the example usage for org.springframework.scheduling.concurrent ThreadPoolTaskScheduler getScheduledThreadPoolExecutor.

Prototype

public ScheduledThreadPoolExecutor getScheduledThreadPoolExecutor() throws IllegalStateException 

Source Link

Document

Return the underlying ScheduledThreadPoolExecutor, if available.

Usage

From source file:org.springframework.web.socket.config.WebSocketMessageBrokerStats.java

public void setSockJsTaskScheduler(ThreadPoolTaskScheduler sockJsTaskScheduler) {
    this.sockJsTaskScheduler = sockJsTaskScheduler.getScheduledThreadPoolExecutor();
    this.loggingTask = initLoggingTask(60 * 1000);
}