Class Session.SessionCloseTask

  • All Implemented Interfaces:
    Runnable
    Enclosing class:
    Session

    private class Session.SessionCloseTask
    extends TimerTask
    The SessionCloseTask class is used by non-XA transacted sessions for taking care of closing them if they tend to be pending, and if a transaction timer has been set.
    • Field Detail

      • txPendingTimer

        private long txPendingTimer
    • Constructor Detail

      • SessionCloseTask

        SessionCloseTask​(long txPendingTimer)
    • Method Detail

      • run

        public void run()
        Method called when the timer expires, actually closing the session.
        Specified by:
        run in interface Runnable
        Specified by:
        run in class TimerTask
      • start

        public void start()