public class IntelligentDataQueue<T> : ConcurrentQueue<T>
where T : IQueueData
Public Class IntelligentDataQueue(Of T As IQueueData)
Inherits ConcurrentQueue(Of T)
type IntelligentDataQueue<'T when 'T : IQueueData> =
class
inherit ConcurrentQueue<'T>
end
IntelligentDataQueueT | 智能数据安全队列 |
IntelligentDataQueueT(Int64) | 智能数据安全队列 |
ActualSize | 实际尺寸 |
Count | Gets the number of elements contained in the ConcurrentQueueT. (继承自 ConcurrentQueueT。) |
Free | 是否有空位允许入队 |
IsEmpty | Gets a value that indicates whether the ConcurrentQueueT is empty. (继承自 ConcurrentQueueT。) |
MaxSize | 允许的最大长度 |
OnQueueChanged | 在队列修改时 |
OverflowWait | 溢出等待 |
Timeout | 超时时间。默认1000*30ms; |
Clear | Removes all objects from the ConcurrentQueueT. (继承自 ConcurrentQueueT。) |
Clear(ActionT) | 清空队列 |
CopyTo | Copies the ConcurrentQueueT elements to an existing one-dimensional Array, starting at the specified array index. (继承自 ConcurrentQueueT。) |
Enqueue | 入队 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetEnumerator | Returns an enumerator that iterates through the ConcurrentQueueT. (继承自 ConcurrentQueueT。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
ToArray | Copies the elements stored in the ConcurrentQueueT to a new array. (继承自 ConcurrentQueueT。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
TryDequeue | 出队 |
TryPeek | Tries to return an object from the beginning of the ConcurrentQueueT without removing it. (继承自 ConcurrentQueueT。) |
ClearT |
清空并发队列并执行指定操作。
(由 CollectionsExtension 定义。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |
ICollectionCopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (继承自 ConcurrentQueueT。) |
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. (继承自 ConcurrentQueueT。) |
ICollectionIsSynchronized | Gets a value indicating whether access to the ICollection is synchronized with the SyncRoot. (继承自 ConcurrentQueueT。) |
ICollectionSyncRoot | Gets an object that can be used to synchronize access to the ICollection. This property is not supported. (继承自 ConcurrentQueueT。) |
IProducerConsumerCollectionTTryAdd | Attempts to add an object to the IProducerConsumerCollectionT. (继承自 ConcurrentQueueT。) |
IProducerConsumerCollectionTTryTake | Attempts to remove and return an object from the IProducerConsumerCollectionT. (继承自 ConcurrentQueueT。) |