org.opennms.core.concurrent
Interface RunnableConsumerThreadPool.RunnableErrorListener
- Enclosing class:
- RunnableConsumerThreadPool
public static interface RunnableConsumerThreadPool.RunnableErrorListener
This interface is used to define a listerer for the thread pool that is
notified if an error occurs processing a runnable. The instance is passed
as an object just incase the actually object does not implement the
Runnableinterface.
- Author:
- Brian Weaver , OpenNMS
onRunnableError
void onRunnableError(Runnable r,
Throwable t)
- This method is invoked when a
RunnableRunnable
fails with an exception.
- Parameters:
r - The Runnable in error.t - The caught error.
Copyright © 2009. All Rights Reserved.