void DisposeRequestProcessors() { //_textRequestProcessor?.Dispose(); //_hashMapRequestProcessor?.Dispose(); _textRequestProcessor = default; _hashMapRequestProcessor = default; }
void InitRequestProcessors() { if (_textRequestProcessor is null) { _textRequestProcessor = new TextRequestProcessor(); } _textRequestProcessor.InitRequestProcessor(_textCacheManager); if (_hashMapRequestProcessor is null) { _hashMapRequestProcessor = new HashTableRequestProcessor(); } _hashMapRequestProcessor.InitRequestProcessor(_hashMapCacheManager); }