nizhikov commented on code in PR #13874:
URL: https://github.com/apache/ignite/pull/13874#discussion_r4692491847
##########
modules/commons/src/main/java/org/apache/ignite/ssl/AbstractSslContextFactory.java:
##########
@@ -62,65 +57,14 @@ public abstract class AbstractSslContextFactory implements
Factory<SSLContext> {
protected final AtomicReference<SSLContext> sslCtx = new
AtomicReference<>();
/** */
- private boolean hotReloadEnabled;
-
- /** */
- private volatile long hotReloadBeforeExpiryMs =
DFLT_HOT_RELOAD_BEFORE_EXPIRY_MS;
+ private transient volatile long hotReloadTime;
/** */
- private transient volatile long earliestExpiry;
-
- /** */
- private transient long pendingExpiry;
-
- /**
- * Automatic hot reload takes its date from the key store that the factory
passes to
- * {@link #createKeyManagers(KeyManagerFactory, KeyStore, char[])}.
- *
- * @return Whether automatic certificate hot reload is enabled. Defaults
to {@code false}.
- */
- public boolean isHotReloadEnabled() {
Review Comment:
Le't keep ability to disable hot reload.
It can be enabled by default, but ability to disable is must.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]