Class SSLStoreFilesModificationWatcher
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.server.util.SSLStoreFilesModificationWatcher
 
- 
- All Implemented Interfaces:
- Runnable
 
 public class SSLStoreFilesModificationWatcher extends Object implements 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 SummaryConstructors Constructor Description SSLStoreFilesModificationWatcher(String keyStore, String trustStore, Runnable onModificationRunnable)Create a FileWatcher on keyStore/trustStore
 
- 
- 
- 
Constructor Detail- 
SSLStoreFilesModificationWatcherpublic SSLStoreFilesModificationWatcher(String keyStore, String trustStore, Runnable onModificationRunnable) Create a FileWatcher on keyStore/trustStore- Parameters:
- keyStore- path to the keyStore file or null to ignore
- trustStore- path to the trustStore file or null to ignore
- onModificationRunnable- function to run when a modification to the keyStore or trustStore is detected
 
 
- 
 
-