get_ref_count_sync


Description:

public bool get_ref_count_sync (string key, out uint out_ref_count, Cancellable? cancellable = null) throws Error

Gets currently stored reference count for the key.

Note the reference count can be 0, which means the key is stored forever.

Parameters:

this

an CacheKeys

key

a key to get reference count for

out_ref_count

return location for the stored reference count for the key

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.