src/main/java/hprose/server/HproseTcpServer.java
public void setThreadPoolEnabled(boolean value) {
        if (value && (threadPool == null)) {
            threadPool = Executors.newCachedThreadPool();
        }
        threadPoolEnabled = value;
    }
public void setThreadPoolEnabled(boolean value) {
        if (value && (threadPool == null)) {
            threadPool = Executors.newCachedThreadPool();
        }
        threadPoolEnabled = value;
    }
public void setThreadPoolEnabled ( boolean value ) { if ( value && ( threadPool == null ) ) { threadPool = Executors . newCachedThreadPool ( ) ; } threadPoolEnabled = value ; }
Set thread pool enabled.
This thread pool is not for the service threads, it is for the user service method.
If your service method takes a long time, or will be blocked, please set this property to be true.
@param value is thread pool enabled
Set thread pool enabled . This thread pool is not for the service threads it is for the user service method . If your service method takes a long time or will be blocked please set this property to be true .