AsyncPriorityQueue
Object Hierarchy:
Bump.AsyncPriorityQueue
Bump.AsyncPriorityQueue
Bump.AsyncPriorityQueue
Gee.PriorityQueue
Gee.PriorityQueue
Gee.PriorityQueue->Bump.AsyncPriorityQueue
Gee.AbstractQueue
Gee.AbstractQueue
Gee.AbstractQueue->Gee.PriorityQueue
Gee.AbstractCollection
Gee.AbstractCollection
Gee.AbstractCollection->Gee.AbstractQueue
GLib.Object
GLib.Object
GLib.Object->Gee.AbstractCollection
Gee.Traversable
Gee.Traversable
Gee.Traversable->Gee.AbstractCollection
Gee.Iterable
Gee.Iterable
Gee.Iterable->Gee.AbstractCollection
Gee.Collection
Gee.Collection
Gee.Collection->Gee.AbstractCollection
Gee.Queue
Gee.Queue
Gee.Queue->Gee.AbstractQueue
Description:
public class AsyncPriorityQueue <G > : PriorityQueue <G >
Priority queue for asynchronous communications
This is basically just a layer on top of GeePriorityQueue to provide thread safety and blocking peek and poll methods, similar to how
GAsyncQueue adds functionality to GQueue.
Content:
Properties:
Creation methods:
Methods:
public override bool @foreach (ForallFunc <G > f)
public bool offer (G element)
public override G peek ()
public G peek_timed (TimeSpan wait = -1 )
Peek on the queue, blocking until timeout or data is received
public override G poll ()
public G poll_timed (TimeSpan wait = -1 )
Poll the queue, blocking until timeout or data is received
Signals:
Inherited Members:
All known members inherited from class Gee.PriorityQueue
@foreach
add
capacity
clear
compare_func
contains
drain
is_full
iterator
offer
peek
poll
read_only
remaining_capacity
remove
size
All known members inherited from class Gee.AbstractQueue
All known members inherited from class Gee.AbstractCollection
contains
iterator
read_only
read_only_view
remove
size
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
All known members inherited from interface Gee.Queue
UNBOUNDED_CAPACITY
capacity
drain
All known members inherited from interface Gee.Traversable
@foreach
all_match
any_match
chop
element_type
filter
first_match
flat_map
fold
map
max
min
order_by
scan
stream
tee
All known members inherited from interface Gee.Iterable
All known members inherited from interface Gee.Collection
add
add_all
add_all_array
add_all_iterator
clear
contains
contains_all
contains_all_array
contains_all_iterator
empty
is_empty
read_only
read_only_view
remove
remove_all
remove_all_array
remove_all_iterator
retain_all
size
to_array