Oracle 5.0 Reference Manual page 1384

Table of Contents

Advertisement

libmemcached
memcached_prepend(memc, key,
key_length, value, value_length,
expiration, flags)
memcached_append(memc, key,
key_length, value, value_length,
expiration, flags)
memcached_cas(memc, key, key_length,
value, value_length, expiration,
flags, cas)
memcached_set_by_key(memc,
master_key, master_key_length, key,
key_length, value, value_length,
expiration, flags)
memcached_add_by_key(memc,
master_key, master_key_length, key,
key_length, value, value_length,
expiration, flags)
memcached_replace_by_key(memc,
master_key, master_key_length, key,
key_length, value, value_length,
expiration, flags)
memcached_prepend_by_key(memc,
master_key, master_key_length, key,
key_length, value, value_length,
expiration, flags)
memcached_append_by_key(memc,
master_key, master_key_length, key,
key_length, value, value_length,
expiration, flags)
memcached_cas_by_key(memc,
master_key, master_key_length, key,
key_length, value, value_length,
expiration, flags)
The
by_key
during the hashing stage for selecting the servers. You can see this in the following definition:
memcached_return
memcached_set_by_key(memcached_st *ptr,
All the functions return a value of type memcached_return, which you can compare against the
MEMCACHED_SUCCESS
15.6.3.3.4.
libmemcached
The
libmemcached
mechanism that provides much faster responses when fetching a large number of keys simultaneously.
Developing a
Function
methods add two further arguments that define the master key, to be used and applied
const char *master_key,
size_t master_key_length,
const char *key,
size_t key_length,
const char *value,
size_t value_length,
time_t expiration,
uint32_t flags);
constant.
Get Functions
functions provide both direct access to a single item, and a multiple-key request
Application
memcached
Equivalent Core Function
Prepends the specified
value of the specified key.
Appends the specified
value of the specified key.
Overwrites the data for a given key as long as the
corresponding
the server.
Similar to the generic set(), but has the option
of an additional master key that can be used to
identify an individual server.
Similar to the generic add(), but has the option
of an additional master key that can be used to
identify an individual server.
Similar to the generic replace(), but has the
option of an additional master key that can be
used to identify an individual server.
Similar to the memcached_prepend(), but has
the option of an additional master key that can be
used to identify an individual server.
Similar to the memcached_append(), but has
the option of an additional master key that can be
used to identify an individual server.
Similar to the memcached_cas(), but has the
option of an additional master key that can be
used to identify an individual server.
1364
before the current
value
after the current
value
value is still the same within
cas

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents