Module cloudi_service_db_memcached

CloudI Memcached Data Module

.

Copyright © 2009-2014 Michael Truog

Version: 1.4.0 Dec 20 2014 16:00:53 ------------------------------------------------------------------------

Behaviours: cloudi_service.

Authors: Michael Truog (mjtruog [at] gmail (dot) com).

Description

CloudI Memcached Data Module

Data Types

dispatcher()

dispatcher() = cloudi_service:dispatcher() | cloudi:context()

Function Index

add/4

Store a binary value for a key if the server doesn't hold data for the key.

.
add/5
add_exp/5

Store a binary value with an expiration for a key if the server doesn't hold data for the key.

.
add_exp/6
append/4

Add the binary value after the existing value for the key.

.
append/5
cloudi_service_handle_info/3
cloudi_service_handle_request/11
cloudi_service_init/4
cloudi_service_terminate/3
decrement/6

Decrement an integer value stored for a key with the provided initial value and expiration.

.
decrement/7
delete/3

Remove the binary value stored for a key.

.
delete/4
flush/2

Invalidate all data currently stored.

.
flush/3
flush_exp/3

Invalidate all data currently stored after an expiration.

.
flush_exp/4
get/3

Get the binary value stored for the key.

.
get/4
get_many/3

Get a list of binary values for a list of keys.

.
get_many/4
increment/6

Increment an integer value stored for a key with the provided initial value and expiration.

.
increment/7
prepend/4

Add the binary value before the existing value for the key.

.
prepend/5
quit/2

Make the server close the connection.

.
quit/3
replace/4

Store a binary value for a key if the server already holds data for the key.

.
replace/5
replace_exp/5

Store a binary value with an expiration for a key if the server already holds data for the key.

.
replace_exp/6
set/4

Store a binary value for a key.

.
set/5
set_exp/5

Store a binary value with an expiration for a key.

.
set_exp/6
stats/2

Get internal server statistics

.
stats/3
version/2

Get the server's version string.

.
version/3

Function Details

add/4

add(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary()) -> any()

Store a binary value for a key if the server doesn't hold data for the key.

add/5

add(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Timeout::pos_integer()) -> any()

add_exp/5

add_exp(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Expiration::non_neg_integer()) -> any()

Store a binary value with an expiration for a key if the server doesn't hold data for the key.

add_exp/6

add_exp(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Expiration::non_neg_integer(), Timeout::pos_integer()) -> any()

append/4

append(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary()) -> any()

Add the binary value after the existing value for the key.

append/5

append(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Timeout::pos_integer()) -> any()

cloudi_service_handle_info/3

cloudi_service_handle_info(Request, State, Dispatcher) -> any()

cloudi_service_handle_request/11

cloudi_service_handle_request(Type, Name, Pattern, RequestInfo, Request, Timeout, Priority, TransId, Pid, State, Dispatcher) -> any()

cloudi_service_init/4

cloudi_service_init(X1, Prefix, Timeout, Dispatcher) -> any()

cloudi_service_terminate/3

cloudi_service_terminate(Reason, Timeout, State) -> any()

decrement/6

decrement(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Initial::binary(), Expiration::non_neg_integer()) -> any()

Decrement an integer value stored for a key with the provided initial value and expiration.

decrement/7

decrement(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Initial::binary(), Expiration::non_neg_integer(), Timeout::pos_integer()) -> any()

delete/3

delete(Dispatcher::dispatcher(), Name::string(), Key::any()) -> any()

Remove the binary value stored for a key.

delete/4

delete(Dispatcher::dispatcher(), Name::string(), Key::any(), Timeout::pos_integer()) -> any()

flush/2

flush(Dispatcher::dispatcher(), Name::string()) -> any()

Invalidate all data currently stored.

flush/3

flush(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> any()

flush_exp/3

flush_exp(Dispatcher::dispatcher(), Name::string(), Expiration::non_neg_integer()) -> any()

Invalidate all data currently stored after an expiration.

flush_exp/4

flush_exp(Dispatcher::dispatcher(), Name::string(), Expiration::non_neg_integer(), Timeout::pos_integer()) -> any()

get/3

get(Dispatcher::dispatcher(), Name::string(), Key::any()) -> any()

Get the binary value stored for the key.

get/4

get(Dispatcher::dispatcher(), Name::string(), Key::any(), Timeout::pos_integer()) -> any()

get_many/3

get_many(Dispatcher::dispatcher(), Name::string(), Keys::list()) -> any()

Get a list of binary values for a list of keys.

get_many/4

get_many(Dispatcher::dispatcher(), Name::string(), Keys::list(), Timeout::pos_integer()) -> any()

increment/6

increment(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Initial::binary(), Expiration::non_neg_integer()) -> any()

Increment an integer value stored for a key with the provided initial value and expiration.

increment/7

increment(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Initial::binary(), Expiration::non_neg_integer(), Timeout::pos_integer()) -> any()

prepend/4

prepend(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary()) -> any()

Add the binary value before the existing value for the key.

prepend/5

prepend(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Timeout::pos_integer()) -> any()

quit/2

quit(Dispatcher::dispatcher(), Name::string()) -> any()

Make the server close the connection.

quit/3

quit(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> any()

replace/4

replace(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary()) -> any()

Store a binary value for a key if the server already holds data for the key.

replace/5

replace(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Timeout::pos_integer()) -> any()

replace_exp/5

replace_exp(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Expiration::non_neg_integer()) -> any()

Store a binary value with an expiration for a key if the server already holds data for the key.

replace_exp/6

replace_exp(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Expiration::non_neg_integer(), Timeout::pos_integer()) -> any()

set/4

set(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary()) -> any()

Store a binary value for a key.

set/5

set(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Timeout::pos_integer()) -> any()

set_exp/5

set_exp(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Expiration::non_neg_integer()) -> any()

Store a binary value with an expiration for a key.

set_exp/6

set_exp(Dispatcher::dispatcher(), Name::string(), Key::any(), Value::binary(), Expiration::non_neg_integer(), Timeout::pos_integer()) -> any()

stats/2

stats(Dispatcher::dispatcher(), Name::string()) -> any()

Get internal server statistics

stats/3

stats(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> any()

version/2

version(Dispatcher::dispatcher(), Name::string()) -> any()

Get the server's version string.

version/3

version(Dispatcher::dispatcher(), Name::string(), Timeout::pos_integer()) -> any()


Generated by EDoc, Dec 20 2014, 16:00:53.