ICollection< TValue > | this[TKey key][Get] |
RingDictionaryBuffer ( int capacity ) | |
bool | Adds an entry to the key. This also updates the "freshness" of the entry. |
bool | ContainsKey ( TKey key ) Returns true if the key exists in the buffer. |
IEnumerable< TValue > | Extract ( TKey key ) Drain all the entries from the buffer that match a given key and return them. |
IEnumerable< TValue > | ExtractAll ( ) Drain all the entries from the buffer and return them. |
void | Clear ( ) Clears the buffer. |
ICollection<TValue> Meta.Voice.Logging.RingDictionaryBuffer< TKey, TValue >.this[TKey key] |
---|
No description available.
|
Meta.Voice.Logging.RingDictionaryBuffer< TKey, TValue >.RingDictionaryBuffer ( int capacity ) |
---|
No description available.
|
bool Meta.Voice.Logging.RingDictionaryBuffer< TKey, TValue >.Add ( TKey key, TValue value, bool unique ) |
---|
Adds an entry to the key. This also updates the "freshness" of the entry. Parameters key The key. valueThe value to add. uniqueWill only add the value if it does not already exist. Returns True if the key value was added. False otherwise. |
bool Meta.Voice.Logging.RingDictionaryBuffer< TKey, TValue >.ContainsKey ( TKey key ) |
---|
Returns true if the key exists in the buffer. Parameters key The key to check. Returns True if the key exists in the buffer. False otherwise. |
IEnumerable<TValue> Meta.Voice.Logging.RingDictionaryBuffer< TKey, TValue >.Extract ( TKey key ) |
---|
Drain all the entries from the buffer that match a given key and return them. Parameters key The key we are extracting. Returns All the entries in the buffer for that specific key. |
IEnumerable<TValue> Meta.Voice.Logging.RingDictionaryBuffer< TKey, TValue >.ExtractAll ( ) |
---|
Drain all the entries from the buffer and return them. Returns All the entries in the buffer ordered by the key (e.g. correlation IDs). |
void Meta.Voice.Logging.RingDictionaryBuffer< TKey, TValue >.Clear ( ) |
---|
Clears the buffer. |