Class RollingBuffer<T>
Acts like forever growing T[], but internally uses a
circular buffer to reuse instances of
@lucene.internal
Inheritance
System.Object
RollingBuffer<T>
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class RollingBuffer<T> : object where T : RollingBuffer.IResettable
Type Parameters
Name | Description |
---|---|
T |
Constructors
Name | Description |
---|---|
RollingBuffer() | |
RollingBuffer(Func<T>) |
Properties
Name | Description |
---|---|
MaxPos | Returns the maximum position looked up, or -1 if no position has been looked up since Reset()/init. |
Methods
Name | Description |
---|---|
FreeBefore(Int32) | |
Get(Int32) | Get |
NewInstance() | |
Reset() |