equal
deleted
inserted
replaced
100 location.release(); |
100 location.release(); |
101 } |
101 } |
102 } |
102 } |
103 runCloseActions(); |
103 runCloseActions(); |
104 } |
104 } |
|
105 |
|
106 public void setReuse(boolean reuse) { |
|
107 // ignore hint |
|
108 } |
105 } |
109 } |
106 |
110 |
107 private final EventSetConsumer eventConsumer; |
111 private final EventSetConsumer eventConsumer; |
108 |
112 |
109 public EventDirectoryStream(AccessControlContext acc) throws IOException { |
113 public EventDirectoryStream(AccessControlContext acc) throws IOException { |
170 |
174 |
171 @Override |
175 @Override |
172 public void awaitTermination() { |
176 public void awaitTermination() { |
173 eventConsumer.awaitTermination(Duration.ofMillis(0)); |
177 eventConsumer.awaitTermination(Duration.ofMillis(0)); |
174 } |
178 } |
|
179 |
|
180 @Override |
|
181 public void setReuse(boolean reuse) { |
|
182 eventConsumer.setReuse(reuse); |
|
183 } |
175 } |
184 } |