Class KeyStoreScanner

All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle, Scanner.DiscreteListener, Scanner.Listener

public class KeyStoreScanner extends ContainerLifeCycle implements Scanner.DiscreteListener

The KeyStoreScanner is used to monitor the KeyStore file used by the SslContextFactory. It will reload the SslContextFactory if it detects that the KeyStore file has been modified.

If the TrustStore file needs to be changed, then this should be done before touching the KeyStore file, the SslContextFactory.reload(Consumer) will only occur after the KeyStore file has been modified.