Class SSLStoreFilesModificationWatcher
java.lang.Object
org.apache.tinkerpop.gremlin.server.util.SSLStoreFilesModificationWatcher
- All Implemented Interfaces:
Runnable
FileWatcher monitoring changes to SSL keyStore/trustStore files.
If a keyStore/trustStore file is set to null, it will be ignored.
If a keyStore/trustStore file is deleted, it will be considered not modified.
-
Constructor Summary
ConstructorsConstructorDescriptionSSLStoreFilesModificationWatcher(String keyStore, String trustStore, Runnable onModificationRunnable) Create a FileWatcher on keyStore/trustStore -
Method Summary
-
Constructor Details
-
SSLStoreFilesModificationWatcher
public SSLStoreFilesModificationWatcher(String keyStore, String trustStore, Runnable onModificationRunnable) Create a FileWatcher on keyStore/trustStore- Parameters:
keyStore- path to the keyStore file or null to ignoretrustStore- path to the trustStore file or null to ignoreonModificationRunnable- function to run when a modification to the keyStore or trustStore is detected
-
-
Method Details