Modul org.freedesktop.dbus
Package org.freedesktop.dbus.connections
Schnittstelle ReceivingService.IThreadPoolRetryHandler
- Umschließende Klasse:
ReceivingService
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
Interface which specifies a handler which will be called when the thread pool throws any exception.
- Seit:
- 4.2.0 - 2022-07-14
- Autor:
- hypfvieh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanhandle(ReceivingService.ExecutorNames _executor, Exception _ex) Called to handle an exception.
-
Methodendetails
-
handle
Called to handle an exception.This method should return true to retry execution or false to just ignore the error and drop the unhandled message.
- Parameter:
_executor- the executor which has thrown the exception_ex- the exception which was thrown- Gibt zurück:
- true to retry execution of the failed runnable, false to ignore runnable
-