Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1060

AlarmClock can not cancel alarms properly.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Jena 3.0.0
    • Fix Version/s: Jena 3.0.1
    • Component/s: ARQ
    • Labels:
      None

      Description

      The AlarmClock code does not cancel alarms properly (it hides and drops the ScheduledFuture needed to cancel an alarm).

      The query timeout code is not exposed to this issue because it has to be defensive about a timeout going off unexpectedly anyway (it can't yield the first result and reset timeout1 to timeout2 as a single compound, atomic action). Similarly, timeouts going off on finished queries have to be tolerated.

      The net effect on ARQ is a small build up of outstanding alarms which will eventually go away.

        Attachments

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              andy Andy Seaborne
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: