rqlite-java
rqlite-java copied to clipboard
How to close the connection of rqlite
I use rqlite-java to connect rqlite in local cluster. But I can't find the close() method in rqlite-java. I wonder how to close the connection and whether it will cause memory leak. Thanks a lot!
Assuming you're expecting a Close() method on this: https://github.com/rqlite/rqlite-java/blob/master/src/main/java/com/rqlite/Rqlite.java#L7
it doesn't exist. I don't think it's needed, but I have not measured the memory consumption of the code over time. The code, as it exists now, is mostly for demonstration.