org.logicalcobwebs.concurrent
接口 Callable


public interface Callable

Interface for runnable actions that bear results and/or throw Exceptions. This interface is designed to provide a common protocol for result-bearing actions that can be run independently in threads, in which case they are ordinarily used as the bases of Runnables that set FutureResults

[ Introduction to this package. ]

另请参见:
FutureResult

方法摘要
 Object call()
          Perform some action that returns a result or throws an exception
 

方法详细信息

call

Object call()
            throws Exception
Perform some action that returns a result or throws an exception

抛出:
Exception


Copyright © 2014. All rights reserved.