|
delegate UserDataCache< T > | FactoryFunction (string name, long ttlMs, CacheResolver resolver) |
|
delegate Promise< Dictionary< long, T > > | CacheResolver (List< long > gamerTags) |
|
Promise< T > | Get (long gamerTag) |
|
Promise< Dictionary< long, T > > | GetBatch (List< long > gamerTags) |
|
void | Set (long gamerTag, T data) |
|
void | Remove (long gamerTag) |
|
|
| UserDataCache (string name, long ttlMs, CacheResolver resolver) |
|
abstract void | PerformScheduleResolve () |
|
virtual void | Resolve () |
|
|
Dictionary< long, UserDataCacheEntry > | cache = new Dictionary<long, UserDataCacheEntry>() |
|
List< long > | gamerTagsPending = new List<long>() |
|
List< long > | gamerTagsInFlight = new List<long>() |
|
Promise< Dictionary< long, T > > | nextPromise = new Promise<Dictionary<long, T>>() |
|
Dictionary< long, T > | result = new Dictionary<long, T>() |
|
|
string | Name [get] |
|
long | TtlMs [get] |
|
CacheResolver | Resolver [get] |
|
The documentation for this class was generated from the following file:
- client/Packages/com.beamable/Common/Runtime/Api/IUserDataCache.cs