Prototype

Class: Rate_limit

A rate limiter associated with one or more callers

Fields

Prototype
float burst_size [RO/constructor]
Prototype
Caller ref set callers [RO/runtime]
Prototype
float fill_rate [RO/constructor]
Prototype
string name_description [RW]
Prototype
string name_label [RW]
Prototype
string uuid [RO/runtime]

Messages

Prototype
void add_caller (session ref, Rate_limit ref, Caller ref)
Prototype
Rate_limit ref create (session ref, Rate_limit record)
Prototype
void destroy (session ref, Rate_limit ref)
Prototype
Rate_limit ref set get_all (session ref)
Prototype
(Rate_limit ref → Rate_limit record) map get_all_records (session ref)
Prototype
float get_burst_size (session ref, Rate_limit ref)
Prototype
Rate_limit ref set get_by_name_label (session ref, string)
Prototype
Rate_limit ref get_by_uuid (session ref, string)
Prototype
Caller ref set get_callers (session ref, Rate_limit ref)
Prototype
float get_fill_rate (session ref, Rate_limit ref)
Prototype
string get_name_description (session ref, Rate_limit ref)
Prototype
string get_name_label (session ref, Rate_limit ref)
Prototype
Rate_limit record get_record (session ref, Rate_limit ref)
Prototype
string get_uuid (session ref, Rate_limit ref)
Prototype
void remove_caller (session ref, Rate_limit ref, Caller ref)
Prototype
void set_burst_size (session ref, Rate_limit ref, float)
Prototype
void set_fill_rate (session ref, Rate_limit ref, float)
Prototype
void set_name_description (session ref, Rate_limit ref, string)
Prototype
void set_name_label (session ref, Rate_limit ref, string)