Class RetainingMultiReaderBuffer<T>
  
  
  
    Inheritance
    
    RetainingMultiReaderBuffer<T>
      
   
  
  
  Assembly: Akka.Streams.dll
  Syntax
  
    public class RetainingMultiReaderBuffer<T>
   
  Type Parameters
  
  Constructors
  
    |
    Edit this page
  
  
    View Source
  
  
  RetainingMultiReaderBuffer(long, long, ICursors)
  
  
  Declaration
  
    public RetainingMultiReaderBuffer(long initialSize, long maxSize, ICursors cursors)
   
  Parameters
  
  Fields
  
    |
    Edit this page
  
  
    View Source
  
  Cursors
  
  
  Declaration
  
    protected readonly ICursors Cursors
   
  Field Value
  
  Properties
  
    |
    Edit this page
  
  
    View Source
  
  
  AvailableData
  
  
  Declaration
  
    public long AvailableData { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Buffer
  
  
  Declaration
  
    protected T[] Buffer { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  CapacityLeft
  The maximum number of elements the buffer can still take.
Declaration
  
    public long CapacityLeft { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  IsEmpty
  
  
  Declaration
  
    public bool IsEmpty { get; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Length
  The number of elements currently in the buffer.
Declaration
  
    public long Length { get; }
   
  Property Value
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  Count(ICursor)
  Returns the number of elements that the buffer currently contains for the given cursor.
Declaration
  
    public long Count(ICursor cursor)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ICursor | cursor | TBD | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | long | TBD | 
    
  
  
    |
    Edit this page
  
  
    View Source
  
  
  InitCursor(ICursor)
  
  
  Declaration
  
    public void InitCursor(ICursor cursor)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ICursor | cursor |  | 
    
  
  
    |
    Edit this page
  
  
    View Source
  
  
  OnCursorRemoved(ICursor)
  
  
  Declaration
  
    public void OnCursorRemoved(ICursor cursor)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ICursor | cursor |  | 
    
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Read(ICursor)
  
  
  Declaration
  
    public T Read(ICursor cursor)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | ICursor | cursor |  | 
    
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
  Overrides
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Write(T)
  
  
  Declaration
  
    public virtual bool Write(T value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | T | value |  | 
    
  
  Returns
  
  Extension Methods