Cache System
CacheServers.AbstractCacheServer — Type.AbstractCacheServer{K, ELT}Base.delete! — Method.delete!(server, object) -> serverdelete this object from the server. (the storage will be deleted)
Base.push! — Method.push!(server, val, object) -> serverpush val to the storage of object in the server.
CacheServers.alloc! — Method.alloc!(server, object, storage) -> serveralloc new storage on the server.
CacheServers.iscacheable — Method.iscacheable(server, object)check if there is available space to storage this object's value. (if this object was allocated on the server before.).
CacheServers.iscached — Method.iscached(server, object, [params...])check if this object (with params) is already cached.
CacheServers.pull — Method.pull(server, object, params...) -> valuepull object storage from server.
CacheServers.update! — Method.update!(storage, val) -> storageDistributed.clear! — Method.clear!(server, object) -> serverclear the storage in the server of this object.