net.sf.basedb.core.signal
Class ShutdownSignalSender
java.lang.Object
net.sf.basedb.core.signal.ShutdownSignalSender
- All Implemented Interfaces:
- SignalSender
public class ShutdownSignalSender
- extends Object
- implements SignalSender
A signal sender implementation that is used by the system when
shutting down. If the handler supports the Signal.SHUTDOWN
signal it is sent, otherwise the Signal.ABORT
.
- Since:
- 2.16
- Author:
- Nicklas
- Last modified
- $Date: 2010-09-02 14:09:15 +0200 (Thu, 02 Sep 2010) $
Method Summary |
void |
sendTo(SignalHandler handler)
Send a signal to the specific signal handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShutdownSignalSender
public ShutdownSignalSender()
sendTo
public void sendTo(SignalHandler handler)
- Description copied from interface:
SignalSender
- Send a signal to the specific signal handler.
- Specified by:
sendTo
in interface SignalSender
- Parameters:
handler
- A signal handler