Top "Callable" questions

A task that returns a result and may throw an exception.

Where to catch Exceptions thrown from Callable.call()

Possible Duplicate: Handling exceptions from Java ExecutorService tasks I use the ExecutorService from Java for coordinating Threads. For starting the …

java multithreading exception executorservice callable
What's the difference between Future and FutureTask in Java?

Since use ExecutorService can submit a Callable task and return a Future, why need to use FutureTask to wrap Callable …

java executorservice callable futuretask
"TypeError: native Qt signal is not callable" with custom slots

The Environment I am running an Anaconda environment with Python 3.4. I am using PyCharm as my IDE. The Objective I …

python qt pyqt4 callable slots
Difference between Spring MVC's @Async, DeferredResult and Callable

I've a long-running task defined in a Spring service. It is started by a Spring MVC controller. I want to …

spring-mvc asynchronous deferred callable
How to return object from Callable()

I'm trying to return a 2d array from call(), I'm having some issues. My code so far is: //this is …

java multithreading callable
What is a callable object in C++?

I'm currently studying boost threads. And I came across that the thread class has a constructor that accepts callable objects. …

c++ multithreading object callable
making a class callable in same instance

class Foo(object): def tick(self): print("something") class Bar(object): def __init__(self): self.foo = Foo() def tick(self): #…

python class callable
RestTemplate should be static globally declared?

I am using Java Callable Future in my code. Below is my main code which uses the future and callables …

java multithreading resttemplate callable
Java: Parameterized Runnable

Standard Runnable interface has only non-parametrized run() method. There is also Callable<V> interface with call() method returning …

java generics callable
Actual implementation of Callable and Future

I am in the process of understanding fine grain util.concurrency. Where is implementation of the Java Callable and Future …

java concurrency theory future callable