Packages
libdazzle-1.0
Dazzle
TaskCache
key_copy_func
key_destroy_func
key_equal_func
key_hash_func
populate_callback
populate_callback_data
populate_callback_data_destroy
time_to_live
value_copy_func
value_destroy_func
TaskCache
evict
evict_all
get_async
peek
set_name
TaskCache
Object Hierarchy:
Dazzle.TaskCache
Dazzle.TaskCache
Dazzle.TaskCache
GLib.Object
GLib.Object
GLib.Object->Dazzle.TaskCache
Description:
[
CCode
( type_id =
"dzl_task_cache_get_type ()"
) ]
public
sealed
class
TaskCache
:
Object
Namespace:
Dazzle
Package:
libdazzle-1.0
Content:
Properties:
public
void
*
key_copy_func
{
construct
; }
public
void
*
key_destroy_func
{
construct
; }
public
void
*
key_equal_func
{
construct
; }
public
void
*
key_hash_func
{
construct
; }
public
void
*
populate_callback
{
construct
; }
public
void
*
populate_callback_data
{
construct
; }
public
void
*
populate_callback_data_destroy
{
construct
; }
public
int64
time_to_live
{
construct
; }
This is the number of milliseconds before an item should be evicted from the cache.
public
void
*
value_copy_func
{
construct
; }
public
void
*
value_destroy_func
{
construct
; }
Creation methods:
protected
TaskCache
()
Methods:
public
bool
evict
(
void
* key)
public
void
evict_all
()
public
async
void
*
get_async
(
void
* key,
bool
force_update,
Cancellable
? cancellable =
null
)
throws
Error
public
unowned
Object
?
peek
(
void
* key)
Peeks to see
key
is contained in the cache and returns the matching
Object
if it does.
public
void
set_name
(
string
name)
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref