RingBufferPlus 3.0.0

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package RingBufferPlus --version 3.0.0
                    
NuGet\Install-Package RingBufferPlus -Version 3.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RingBufferPlus" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RingBufferPlus" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RingBufferPlus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RingBufferPlus --version 3.0.0
                    
#r "nuget: RingBufferPlus, 3.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RingBufferPlus@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RingBufferPlus&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RingBufferPlus&version=3.0.0
                    
Install as a Cake Tool

Welcome to RingBufferPlus

RingBufferPlus A generic circular buffer (ring buffer) in C# with Auto-Scaler, and Report-Metrics.

RingBufferPlus was developed in C# with the netstandard2.1, .NET 6 , .NET 7 and .NET 8 target frameworks.

Visit the official page for more documentation of RingBufferPlus

What's new in the latest version

V3.0.0

Top

  • Added command 'FactoryHealth'
    • Check health item before accquire buffer.
  • Renamed Method 'SwithToScaleDefinitions' to 'MasterScale'
  • Added master-slave feature(2 Ring Buffer with synchronization)
    • Added command set 'SlaveScale' to set report handler, Minimum and maximum capacity
  • Added 'MasterSlave' enum item in SourceTrigger
  • Added 'None' enum item in ScaleMode
  • Revised to have greater performance without 'lock'
  • Removed Method 'Counters'
    • data was not relevant and inaccurate
  • Revised 'RingBufferMetric'
    • Now only propreties 'Trigger', 'FromCapacity', 'ToCapacity' and 'MetricDate'

Features

Implemented concept

The implementation follows the basic principle. The principle was expanded to have a scale capacity that may or may not be modified to optimize the consumption of the resources used.

Key Features

  • Conscious use of resources
  • Set unique name for same buffer type
  • Set the buffer capacity
  • Set buffer integrity (validate if the buffer is valid)
    • Verified with each acquiring
  • Set the minimum and maximum capacity (optional)
    • Set the conditions for scaling to maximum and minimum (required)
      • Automatic condition values ​​based on capacity (value not required)
  • Set master-slave (2 Ring Buffer with synchronization)
    • Master controls slave scale
  • Event with scale change information
    • Executed in a separate thread asynchronously
  • Associate the logger interface (optional)
  • Define a user role for generated errors (optional)
    • Executed in a separate thread asynchronously
  • Command to Invalidate the buffer when it is in an invalid state
  • Warm up to full capacity before starting application
  • Receive item from buffer with success/failure information and elapsed time for acquisition
  • Sets a time limit for acquiring the item in the buffer
  • Detailed information about operations when the minimum log is Debug
  • Simple and clear fluent syntax

Installing

Install-Package RingBufferPlus [-pre]
dotnet add package RingBufferPlus [--prerelease]

Note: [-pre]/[--prerelease] usage for pre-release versions

Examples

See folder Samples.

dotnet run --project [name of sample]

License

Copyright 2022 @ Fernando Cerqueira

RingBufferPlus is licensed under the MIT license. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.