Struct BlockingService::Config

Nested Relationships

This struct is a nested type of Class BlockingService.

Struct Documentation

struct Config

Public Members

size_t cacheSize = {0}

Size in History items to be stored in the cache.

A value of 0 means no caching. Loosely corresponds to sentences to cache in the real world. Note that cache has a random-eviction policy. The peak storage at full occupancy is controlled by this parameter. However, whether we attain full occupancy or not is controlled by random factors - specifically how uniformly the hash distributes.

Logger::Config logger

Configurations for logging.

Public Static Functions

template<class App>
static void addOptions(App &app, Config &config)