object
method clear : unit -> [ `Ok | `Timeout ]
method clear_counters : unit -> [ `Ok | `Timeout ]
method client_config : Cache_client.client_config
method delete :
Cache_client.key ->
int64 -> Cache_client.delete_options -> [ `Ok | `Timeout ]
method get :
Cache_client.key ->
Cache_client.get_options ->
[ `Found of Cache_client.entry | `Not_found | `Timeout ]
method get_config :
unit ->
[ `Ok of (Rpc_client.connector * Cache_client.config) list | `Timeout ]
method get_stats :
unit ->
[ `Ok of (Rpc_client.connector * Cache_client.stats) list | `Timeout ]
method set :
Cache_client.key ->
string ->
int64 -> Cache_client.set_options -> [ `Not_stored | `Stored | `Timeout ]
method set_config :
(Rpc_client.connector * Cache_client.config) list -> [ `Ok | `Timeout ]
method shutdown : unit -> unit
end