Metrics Cache
A DataCache that logs usage statistics via its logger.
Functions
Link copied to clipboard
Returns a DataEntryCache of the given type if its DataDescription was registered beforehand, null otherwise.
Link copied to clipboard
Returns a DataEntryCache of the given T if its description was registered beforehand, null otherwise.
Link copied to clipboard
Inserts all items into the cache. Inserting an entry with an id that is already present will cause the old value to be overwritten.
Link copied to clipboard
Registers a description and preforms the necessary setup to use the type of this class.
Registers the descriptions and preforms the necessary setup to use the type of these classes.
Registers the descriptions and preforms the necessary setup to use the type of these classes.
Link copied to clipboard
Wraps this cache in a MetricsCache, enabling logging of metrics.