Abstract
Manages the API methods of a data model with a mutable cache of instances.
Extends
DataManager<Key, Holds, Resolvable>Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
Key | No | None | ||
Holds | No | None | ||
Resolvable | 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 | Key | Holds | No | The id or instance of something in this Manager |