Class InterruptHandlerFunction<T>

  • Type Parameters:
    T - The type of the parameter that should be returned to the the method interruptFired(int, Object)

    public abstract class InterruptHandlerFunction<T>
    extends Object
    It is recommended that you use this class in conjunction with classes from java.util.concurrent.atomic as these objects are all thread safe.
    • Constructor Detail

      • InterruptHandlerFunction

        public InterruptHandlerFunction()
    • Method Detail

      • interruptFired

        public abstract void interruptFired​(int interruptAssertedMask,
                                            T param)
        This method is run every time an interrupt is fired.
        Parameters:
        interruptAssertedMask - Interrupt Mask
        param - The parameter provided by overriding the overridableParameter() method.