Abstract
Manages the API methods of a data model with a mutable cache of instances.
Extends
DataManager<K, Holds, R>Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
K | No | None | ||
Holds | No | None | ||
R | No | None |
Constructs a new instance of the
CachedManager
className | Type | Optional | Description |
---|---|---|---|
client | Client<true> | No | None |
holds | Constructable<Holds> | No | None |
iterable | Iterable<Holds> | Yes | None |
The cache of items for this manager.
Inherited from DataManagerThe client that instantiated this Manager
Inherited from BaseManagerThe data structure belonging to this manager.
Inherited from DataManagerResolves a data entry to a data Object.
Returns
An instance from this ManagerName | Type | Optional | Description |
---|---|---|---|
idOrInstance | Holds | No | The id or instance of something in this Manager |
Resolves a data entry to an instance id.
Returns
Name | Type | Optional | Description |
---|---|---|---|
idOrInstance | K | Holds | No | The id or instance of something in this Manager |