abstract Task CleanCache(string name) | Deletes a cache by name. |
Task<T> GetCache<T>(string name, Func<Task<T>> generate) | Returns a cache by name, generating it with the given function if it is missing. |
abstract Task<T> GetCache<T>(string name, Func<Task<T>> generate, Func<T> createEmpty) | Returns a cache by name, generating it with the given function if it is missing. |
static string GetCacheName(string context, LocationChunk chunk, int seed) | Builds a cache file name from the server ID, chunk, context and seed. |
abstract void HandleCacheRequest(Connection connection, Stream stream) | Handles a cache request message from a connection. |