Folks.ObjectCache – folks Reference Manual
Packages
folks
Folks
ObjectCache
id
type_id
ObjectCache
clear_cache
deserialise_object
get_serialised_object_type
get_serialised_object_version
load_objects
serialise_object
store_objects
ObjectCache
Object Hierarchy:
Description:
public
abstract
class
ObjectCache
<
T
> :
Object
Namespace:
Folks
Package:
folks
Content:
Properties:
public
string
id
{
get
;
construct
; }
public
string
type_id
{
get
;
construct
; }
Creation methods:
protected
ObjectCache
(
string
type_id,
string
id)
Methods:
public
async
void
clear_cache
()
protected
abstract
T
deserialise_object
(
Variant
variant,
uint8
object_version)
protected
abstract
VariantType
?
get_serialised_object_type
(
uint8
object_version)
protected
abstract
uint8
get_serialised_object_version
()
public
async
Set
<
T
>?
load_objects
(
Cancellable
? cancellable =
null
)
protected
abstract
Variant
serialise_object
(
T
object)
public
async
void
store_objects
(
Set
<
T
> objects,
Cancellable
? cancellable =
null
)
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