Example usage for java.util.concurrent Executor toString

List of usage examples for java.util.concurrent Executor toString

Introduction

In this page you can find the example usage for java.util.concurrent Executor toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

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

private String getExecutorStatsInfo(Executor executor) {
    String str = executor.toString();
    return str.substring(str.indexOf("pool"), str.length() - 1);
}