Class StTLSReloader
java.lang.Object
com.io7m.stonesignal.server.tls.StTLSReloader
- All Implemented Interfaces:
com.io7m.repetoir.core.RPServiceType,AutoCloseable
public final class StTLSReloader
extends Object
implements AutoCloseable, com.io7m.repetoir.core.RPServiceType
A service that periodically reloads TLS contexts.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static StTLSReloadercreate(StTLSContextServiceType inTls) Create a new TLS reloader.
-
Method Details
-
create
Create a new TLS reloader.- Parameters:
inTls- The TLs contexts- Returns:
- A TLS reloader
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
description
- Specified by:
descriptionin interfacecom.io7m.repetoir.core.RPServiceType
-