- All Implemented Interfaces:
- Enclosing class:
private class Job.JobSignalTransporter extends Object implements SignalTransporter
Wrapper for the signal transporter that intercepts the ABORT signal and changes the job's status to ABORTING. The ABORT signal is dealyed until after a successful commit.
Constructors Modifier Constructor Description
JobSignalTransporterprivate JobSignalTransporter(SignalTransporter transporter)
getSupportedSignalsGet a collection containing the signals supported, by the signal handler. A null return value means that the transporter just doesn't know about which signals are supported and which are not.
initpublic void init(String params)Initialise the signal transporter. The parameter is the same as returned by
SignalReceiver.registerSignalHandler(SignalHandler)and should contain information that the transporter can parse and use for contacting the correct signal receiver and to send signals to the registered signal handler.
sendpublic void send(Signal signal)Send a signal.