Interface Tracker.Callback<T>

  • Type Parameters:
    T - the type to accept
    Enclosing class:
    Tracker
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface Tracker.Callback<T>
    Equivalent to consumer lambda, but allows SQLException and JMSException.
    • Method Detail

      • accept

        void accept​(T msg)
             throws java.sql.SQLException,
                    javax.jms.JMSException
        Throws:
        java.sql.SQLException
        javax.jms.JMSException