Class OpenGridSignalHandlerFactory

java.lang.Object
net.sf.basedb.opengrid.service.OpenGridSignalHandlerFactory
All Implemented Interfaces:
ActionFactory<SignalHandler>

public class OpenGridSignalHandlerFactory extends Object implements ActionFactory<SignalHandler>
Signal handler implementation for Open Grid Scheduler clusters. Jobs that are started on a cluster should be registered in BASE with an external id equal to the job id on the cluster, ExtensionSignalTransporter as the signal transporter implementation and the URI from getSignalUri(JobIdentifier) as the signal transporter parameter. Signal URI:s have the form: ogx://cluster-id/?ABORT,STATUS#job-id where cluster-id is the username, ip-address and port of the cluster.
  • Field Details

    • ID

      public static final String ID
      The ID of the signal handler extension.
      Since:
      1.10
      See Also:
    • SUPPORTED_SIGNALS

      public static final Collection<Signal> SUPPORTED_SIGNALS
      All supported signals by this signal handler. Note that not all signals (eg. PAUSE and RESUME) may be supported by the underlying engine.
    • MINIMAL

      public static final Collection<Signal> MINIMAL
      Minimal set of supported signals that should always be supported by all engines. ABORT and STATUS.
      Since:
      1.15
    • PAUSABLE

      public static final Collection<Signal> PAUSABLE
      Supports PAUSE in addition to ABORT and STATUS.
      Since:
      1.15
    • RESUMABLE

      public static final Collection<Signal> RESUMABLE
      Supports RESUME in addition to ABORT and STATUS.
      Since:
      1.15
    • logger

      private static final ExtensionsLogger logger
  • Constructor Details

    • OpenGridSignalHandlerFactory

      public OpenGridSignalHandlerFactory()
  • Method Details