Release Note: Add a System Property to Set the Maximum Number of `WatchService` Events before Overflow

XMLWordPrintable

    • generic
    • generic

      The `java.nio.file.WatchService` implementations buffer up to a maximum number of events before discarding events and then queuing the `OVERFLOW` event. A new system property, `jdk.nio.file.WatchService.maxEventsPerPoll`, has been added to allow someone to specify the maximum number of pending events which may be enqueued before an `OVERFLOW` event is emitted. The value of this property must be a positive integer.

            Assignee:
            Brian Burkhalter
            Reporter:
            Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: