We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd4da7 commit ef279fdCopy full SHA for ef279fd
2 files changed
gpclient/gpclient-core/src/main/java/org/epics/gpclient/PVReader.java
@@ -44,7 +44,7 @@
44
* @author carcassi
45
* @param <T> the type of the PVReader.
46
*/
47
-public interface PVReader<T> {
+public interface PVReader<T> extends AutoCloseable {
48
49
/**
50
* Returns the current value of the PVReader.
gpclient/gpclient-core/src/main/java/org/epics/gpclient/PVWriter.java
@@ -17,7 +17,7 @@
17
* @param <T> type of the write payload
18
19
20
-public interface PVWriter<T> {
+public interface PVWriter<T> extends AutoCloseable {
21
22
23
* Writes a new value asynchronously using the default callback. The result
0 commit comments