Copyright © 2014 Michael Truog
Version: 1.3.3 Sep 30 2014 14:15:49 ------------------------------------------------------------------------
Behaviours: cloudi_service.
Authors: Michael Truog (mjtruog [at] gmail (dot) com).
delete_options() = [{atom(), any()} | atom()]
dispatcher() = cloudi_service:dispatcher() | cloudi:context()
get_index_eq_options() = [{atom(), any()}]
get_index_range_options() = [{atom(), any()}]
get_options() = [{object, boolean()} | {atom(), any()} | atom()]
index_id() = {binary_index, string()} | {integer_index, string()}
indexes() = [{{binary_index, string()}, [binary()]} | {{integer_index, string()}, [integer()]}]
new_options() = [{content_type, string() | undefined} | {object, boolean()} | {indexes, indexes()} | {atom(), any()} | atom()]
put_options() = [{content_type, string() | undefined} | {object, boolean()} | {indexes, indexes()} | {atom(), any()} | atom()]
riakc_obj() = riakc_obj:riakc_obj()
cloudi_service_handle_info(Request, State, Dispatcher) -> any()
cloudi_service_handle_request(Type, Name, Pattern, RequestInfo, Request, Timeout, Priority, TransId, Pid, State, Dispatcher) -> any()
cloudi_service_init(Args, Prefix, Dispatcher) -> any()
cloudi_service_terminate(X1, State) -> any()
delete(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), KeyOrObject::binary() | riakc_obj(), Timeout::cloudi_service:timeout_milliseconds()) -> ok | {error, cloudi_service:error_reason_sync() | any()}
delete(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), KeyOrObject::binary() | riakc_obj(), Options::delete_options(), Timeout::cloudi_service:timeout_milliseconds()) -> ok | {error, cloudi_service:error_reason_sync() | any()}
get(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), KeyOrObject::binary() | riakc_obj(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Key::binary(), Value::binary()} | {siblings, Key::binary(), Values::[binary()]} | {error, cloudi_service:error_reason_sync() | no_value | any()}
get(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Key::binary(), Options::get_options(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Key::binary(), ValueOrObject::binary() | riakc_obj() | undefined} | {siblings, Key::binary(), Values::[binary()]} | {error, cloudi_service:error_reason_sync() | no_value | any()}
get_index_eq(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Index::index_id() | binary(), Key::binary() | integer(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Keys::[binary()], Terms::[{integer() | binary(), binary()}], Continuation::binary()} | {error, cloudi_service:error_reason_sync() | any()}
get_index_eq(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Index::index_id() | binary(), Key::binary() | integer(), Options::get_index_eq_options(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Keys::[binary()], Terms::[{integer() | binary(), binary()}], Continuation::binary()} | {error, cloudi_service:error_reason_sync() | any()}
get_index_range(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Index::index_id() | binary(), KeyStart::binary() | integer() | list(), KeyEnd::binary() | integer() | list(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Keys::[binary()], Terms::[{integer() | binary(), binary()}], Continuation::binary()} | {error, cloudi_service:error_reason_sync() | any()}
get_index_range(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Index::index_id() | binary(), KeyStart::binary() | integer() | list(), KeyEnd::binary() | integer() | list(), Options::get_index_range_options(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Keys::[binary()], Terms::[{integer() | binary(), binary()}], Continuation::binary()} | {error, cloudi_service:error_reason_sync() | any()}
list_buckets(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Options::list(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, [binary()]} | {error, cloudi_service:error_reason_sync() | any()}
list_keys(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Options::list(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, [binary()]} | {error, cloudi_service:error_reason_sync() | any()}
new(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Key::binary() | undefined, Value::binary(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Key::binary(), NewValue::binary()} | {siblings, Key::binary(), Values::[binary()]} | {error, cloudi_service:error_reason_sync() | no_value | any()}
new(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Key::binary() | undefined, Value::binary(), Options::new_options(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Key::binary(), NewValueOrObject::binary() | riakc_obj()} | {siblings, Key::binary(), Values::[binary()]} | {error, cloudi_service:error_reason_sync() | no_value | any()}
object_update(Object::riakc_obj(), Value::binary()) -> riakc_obj()
object_value(Object::riakc_obj()) -> {ok, Key::binary(), Value::binary()} | {siblings, Key::binary(), Values::[binary()]} | {error, no_value}
put(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Object::riakc_obj(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Key::binary(), Object::riakc_obj()} | {error, cloudi_service:error_reason_sync() | no_value | any()}
put(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Key::binary(), ValueOrObject::binary() | riakc_obj(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Key::binary(), Value::binary()} | {siblings, Key::binary(), Values::[binary()]} | {error, cloudi_service:error_reason_sync() | no_value | any()}
put(Dispatcher::dispatcher(), Name::cloudi_service:service_name(), Key::binary(), ValueOrObject::binary() | riakc_obj(), Options::put_options(), Timeout::cloudi_service:timeout_milliseconds()) -> {ok, Key::binary(), ValueOrObject::binary() | riakc_obj()} | {siblings, Key::binary(), Values::[binary()]} | {error, cloudi_service:error_reason_sync() | no_value | any()}
Generated by EDoc, Sep 30 2014, 14:15:49.