Context
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "memcached_st" , has_type_id = false , lower_case_cprefix = "memcached_" ) ]
public class Context
[ CCode ( cname = "memcached_st" , has_type_id = false , lower_case_cprefix = "memcached_" ) ]
public class Context
Namespace: Memcached
Package: libmemcached
Content:
Creation methods:
- public Context (Context? ptr = null)
- public Context.from_configuration (uint8[]? str = null)
Methods:
- public ReturnCode @delete (uint8[] key, time_t expiration)
- public uint8[]? @get (uint8[] key, out uint32 flags, out ReturnCode error)
- public ReturnCode @set (uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public ReturnCode _mget_execute_by_key (uint8[] group_key, uint8*[] keys, size_t[] keys_length, ExecuteCallback function, uint32 number_of_callbacks = 1)
- public ReturnCode add (uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public ReturnCode add_by_key (uint8[] group_key, uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public Analysis? analyze (Stat memc_stat, out ReturnCode error)
- public ReturnCode append (uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public ReturnCode append_by_key (uint8[] group_key, uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public void autoeject ()
- public uint64 behavior_get (Behavior flag)
- public ServerDistribution behavior_get_distribution ()
- public ReturnCode behavior_set (Behavior flag, uint64 data)
- public ReturnCode behavior_set_distribution (ServerDistribution type)
- public ReturnCode bucket_set (uint32[] host_map, uint32[] forward_map, uint32 buckets, uint32 replicas)
- public void* callback_get (Callback flag, out ReturnCode error)
- public ReturnCode callback_set (Callback flag, void* data)
- public ReturnCode cas (uint8[] key, uint8[] value, time_t expiration, uint32 flags, uint64 cas)
- public ReturnCode cas_by_key (uint8[] group_key, uint8[] key, uint8[] value, time_t expiration, uint32 flags, uint64 cas)
- public Context clone (Context? destination = null)
- public ReturnCode decrement (uint8[] key, uint32 offset, out uint64 value)
- public ReturnCode decrement_by_key (uint8[] group_key, uint8[] key, uint32 offset, out uint64 value)
- public ReturnCode decrement_with_initial (uint8[] key, uint64 offset, uint64 initial, time_t expiration, out uint64 value)
- public ReturnCode decrement_with_initial_by_key (uint8[] group_key, uint8[] key, uint64 offset, uint64 initial, time_t expiration, out uint64 value)
- public ReturnCode delete_by_key (uint8[] group_key, uint8[] key, time_t expiration)
- public ReturnCode destroy_sasl_auth_data ()
- public ReturnCode dump (DumpCallback function)
- public unowned string error ()
- public void error_print ()
- public ReturnCode exist (uint8[] key)
- public ReturnCode exist_by_key (uint8[] group_key, uint8[] key)
- public uint8[]? fetch (uint8[] key, out uint32 flags, out ReturnCode error)
- public ReturnCode fetch_execute (ExecuteCallback callback)
- public Result? fetch_result (Result? result, out ReturnCode error)
- public ReturnCode flush (time_t expiration)
- public ReturnCode flush_buffers ()
- public uint32 generate_hash (uint8[] key)
- public uint32 generate_hash_value (uint8[] key, Hash hash_algorithm)
- public uint8[]? get_by_key (uint8[] group_key, uint8[] key, out uint32 flags, out ReturnCode error)
- public Hash get_distribution_hash ()
- public Hash get_key_hash ()
- public void get_memory_allocator (out MallocFunc mem_malloc, out FreeFunc mem_free, out ReallocFunc mem_realloc, out CallocFunc mem_calloc)
- public void* get_memory_allocator_context ()
- public T get_user_data<T> ()
- public ReturnCode increment (uint8[] key, uint32 offset, out uint64 value)
- public ReturnCode increment_by_key (uint8[] group_key, uint8[] key, uint32 offset, out uint64 value)
- public ReturnCode increment_with_initial (uint8[] key, uint64 offset, uint64 initial, time_t expiration, out uint64 value)
- public ReturnCode increment_with_initial_by_key (uint8[] group_key, uint8[] key, uint64 offset, uint64 initial, time_t expiration, out uint64 value)
- public unowned Context iterator ()
- public ReturnCode last_error ()
- public int last_error_errno ()
- public unowned string last_error_message ()
- public ReturnCode mget (uint8*[] keys, size_t[] keys_length)
- public ReturnCode mget_by_key (uint8[] group_key, uint8*[] keys, size_t[] keys_length)
- public ReturnCode mget_execute (uint8*[] keys, size_t[] keys_length, ExecuteCallback function)
- public ReturnCode mget_execute_by_key (uint8[] group_key, uint8*[] keys, size_t[] keys_length, ExecuteCallback function)
- public Result? next_value ()
- public ReturnCode prepend (uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public ReturnCode prepend_by_key (uint8[] group_key, uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public ReturnCode push (Context source)
- public uint64 query_id ()
- public void quit ()
- public ReturnCode replace (uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public ReturnCode reset ()
- public void reset_last_disconnected_server ()
- public Result result_create (Result? result = null)
- public ReturnCode server_add (string hostname, in_port_t port = DEFAULT_PORT)
- public ReturnCode server_add_udp (string hostname, in_port_t port = DEFAULT_PORT)
- public ReturnCode server_add_udp_with_weight (string hostname, in_port_t port, uint32 weight)
- public ReturnCode server_add_unix_socket (string filename)
- public ReturnCode server_add_unix_socket_with_weight (string filename, uint32 weight)
- public ReturnCode server_add_with_weight (string hostname, in_port_t port, uint32 weight)
- public unowned Instance? server_by_key (uint8[] key, out ReturnCode error)
- public uint32 server_count ()
- public ReturnCode server_cursor (ServerCallback function)
- public unowned Instance? server_get_last_disconnect ()
- public unowned Instance server_instance_by_position (uint32 server_key)
- public ReturnCode server_push (ServerList list)
- public void servers_reset ()
- public ReturnCode set_by_key (uint8[] group_key, uint8[] key, uint8[] value, time_t expiration, uint32 flags)
- public ReturnCode set_distribution_hash (Hash type)
- public ReturnCode set_encoding_key (uint8[] str)
- public ReturnCode set_key_hash (Hash type)
- public ReturnCode set_memory_allocator (MallocFunc mem_malloc, FreeFunc mem_free, ReallocFunc mem_realloc, CallocFunc mem_calloc)
- public ReturnCode set_sasl_auth_data (string username, string password)
- public void set_user_data<T> (T data)
- public Stat? stat (string args, out ReturnCode error)
- public ReturnCode stat_execute (string args, StatCallback func)
- public void stat_free (Stat memc_stat)
- public string[] stat_get_keys (Stat memc_stat, out ReturnCode error)
- public string stat_get_value (Stat memc_stat, string key, out ReturnCode error)
- public unowned string strerror (ReturnCode rc)
- public ReturnCode touch (uint8[] key, time_t expiration)
- public ReturnCode touch_by_key (uint8[] group_key, uint8[] key, time_t expiration)
- public ReturnCode verbosity (uint32 verbosity)
- public ReturnCode version ()