equal
deleted
inserted
replaced
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(); |