src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java
branchJEP-349-branch
changeset 57944 f1610739fe86
parent 57717 4ce66d271065
child 57971 aa7b1ea52413
equal deleted inserted replaced
57937:c72ed9929e02 57944:f1610739fe86
   332      *
   332      *
   333      * @throws IllegalArgumentException if <code>interval</code> is negative
   333      * @throws IllegalArgumentException if <code>interval</code> is negative
   334      *
   334      *
   335      * @throws IllegalStateException if the stream is closed
   335      * @throws IllegalStateException if the stream is closed
   336      */
   336      */
   337     public void setInterval(Duration duration) {
   337     public void setFlushInterval(Duration interval) {
   338         recording.setFlushInterval(duration);
   338         recording.setFlushInterval(interval);
   339     }
   339     }
   340 
   340 
   341     @Override
   341     @Override
   342     public void awaitTermination() {
   342     public void awaitTermination() {
   343         stream.awaitTermination();
   343         stream.awaitTermination();