Protected
Readonly
configThe config service.
Private
Optional
connectionThe instantiated connection, if one exists.
Protected
Readonly
loggingThe loggers.
Private
spawnedCollection of all Redis connections opened by this service. We keep track of these here so we can make sure -all- of them get closed when the framework tries to shut down.
The current status of the unit.
Private
appThe global application instance.
Protected
appGet the global Application.
Protected
containerThis method is called to stop the unit when the application is shutting down. Here, you should do any teardown required to stop the package cleanly.
IN PARTICULAR take care to free blocking resources that could prevent the process from exiting without a kill.
Get the method with the given name from this class, bound to this class.
function
Get the method with the given name from this class, bound to this class.
function
Rest
...args: any[]Protected
make
Unit that loads configuration for and manages instantiation of an IORedis connection.