Cache System

Base.delete!Method
delete!(server, object) -> server

delete this object from the server. (the storage will be deleted)

Base.push!Method
push!(server, val, object) -> server

push val to the storage of object in the server.

CacheServers.alloc!Method
alloc!(server, object, storage) -> server

alloc new storage on the server.

CacheServers.iscacheableMethod
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.iscachedMethod
iscached(server, object, [params...])

check if this object (with params) is already cached.

CacheServers.pullMethod
pull(server, object, params...) -> value

pull object storage from server.

Distributed.clear!Method
clear!(server, object) -> server

clear the storage in the server of this object.