Class AsynchronousBufferedTokenQueue
An Asynchronous version of Buffered
Inheritance
Implements
Inherited Members
Namespace: VDS.RDF.Parsing.Tokens
Assembly: dotNetRdf.dll
Syntax
public class AsynchronousBufferedTokenQueue : BufferedTokenQueue, ITokenQueue
Remarks
Periodic instablility is fixed to the best of my knowledge, it is still recommended to use a Buffered
Constructors
| Improve this Doc View SourceAsynchronousBufferedTokenQueue()
Creates a new Asynchronous Buffered Queue.
Declaration
public AsynchronousBufferedTokenQueue()
Remarks
Periodic instablility is fixed to the best of my knowledge, it is still recommended to use a Buffered
AsynchronousBufferedTokenQueue(ITokeniser)
Creates a new Asynchronous Buffered Queue with the given Tokeniser.
Declaration
public AsynchronousBufferedTokenQueue(ITokeniser tokeniser)
Parameters
Type | Name | Description |
---|---|---|
ITokeniser | tokeniser | Tokeniser to Buffer. |
Remarks
Periodic instablility is fixed to the best of my knowledge, it is still recommended to use a Buffered
Methods
| Improve this Doc View SourceBufferInternal()
Internal Helper Method which starts the Background Buffering if not already running.
Declaration
protected override void BufferInternal()
Overrides
Remarks
Periodic instablility is fixed to the best of my knowledge, it is still recommended to use a Buffered
Dequeue()
Gets the next Token in the Queue and removes it from the Queue.
Declaration
public override IToken Dequeue()
Returns
Type | Description |
---|---|
IToken | Token at the front of the Queue. |
Overrides
Remarks
Periodic instablility is fixed to the best of my knowledge, it is still recommended to use a Buffered
Peek()
Gets the next Token in the Queue without removing it from the Queue.
Declaration
public override IToken Peek()
Returns
Type | Description |
---|---|
IToken | Token at the front of the Queue. |
Overrides
Remarks
Periodic instablility is fixed to the best of my knowledge, it is still recommended to use a Buffered