public void addSignal(final String signalName, final List<JRaftSignalHandler> handlers) {
            final sun.misc.Signal signal = new sun.misc.Signal(signalName);
            final SignalHandlerAdapter adapter = new SignalHandlerAdapter(signal, handlers);
            sun.misc.Signal.handle(signal, adapter);
        }
Registers user signal handlers.

@param signalName a signal name
@param handlers   user signal handlers
@return true if support on current platform
jraft-core/src/main/java/com/alipay/sofa/jraft/util/SignalHelper.java