net.csdn.modules.threadpool
Interface ThreadPoolService

All Known Implementing Classes:
DefaultThreadPoolService

public interface ThreadPoolService


Nested Class Summary
static class ThreadPoolService.Names
           
static interface ThreadPoolService.Run<T>
           
 
Method Summary
 Executor executor(String name)
           
<T> T
runWithTimeout(int time, ThreadPoolService.Run<T> run)
           
 

Method Detail

executor

Executor executor(String name)

runWithTimeout

<T> T runWithTimeout(int time,
                     ThreadPoolService.Run<T> run)


Copyright © 2014. All Rights Reserved.