Cache System
AbstractCacheServer{K, ELT}Yao.CacheServers.alloc! — Method.alloc!(server, object, storage) -> serveralloc new storage on the server.
Yao.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.).
Yao.CacheServers.iscached — Method.iscached(server, object, [params...])check if this object (with params) is already cached.
Yao.CacheServers.pull — Method.pull(server, object, params...) -> valuepull object storage from server.
Yao.CacheServers.update! — Method.update!(storage, val) -> storageBase.Distributed.clear! — Method.clear!(server, object) -> serverclear the storage in the server of this object.
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.