0Zero.SemaphoreAzureStorage 1.1.3

Semaphore using Azure Storage (based off of SemaphoreSlim)

Install-Package 0Zero.SemaphoreAzureStorage -Version 1.1.3
dotnet add package 0Zero.SemaphoreAzureStorage --version 1.1.3
<PackageReference Include="0Zero.SemaphoreAzureStorage" Version="1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add 0Zero.SemaphoreAzureStorage --version 1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: 0Zero.SemaphoreAzureStorage, 1.1.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install 0Zero.SemaphoreAzureStorage as a Cake Addin
#addin nuget:?package=0Zero.SemaphoreAzureStorage&version=1.1.3

// Install 0Zero.SemaphoreAzureStorage as a Cake Tool
#tool nuget:?package=0Zero.SemaphoreAzureStorage&version=1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v1.1.3 - Fixed bug in parsing expiration of queue items. Made non-executing queue items have expiration based off of reresh interval. Reduced executing job idle expiration to 2 minutes with it auto-refreshing every 1 minutes (was 10 minutes, refreshing every 5 minutes).
v1.1.2 - Fixed issue with expiration auto refresh.
v1.1.1 - Minor bug fixes.
v1.1.0 - Re-wrote locking in Wait() method to prevent hanging outside of waiting for a turn.  Also added better timeouts and cleanup of abandonded SemaphoreAzureStorage Entries in the storage table.
v1.0.8 - Fixed issue where logger was not being passed.  Also added better checking to JobQueue cleanup to prevent it from disposing too early.
v1.0.7 - Added logger parameter that can be passed to be used with the verbose messaging.
v1.0.6 - Fixed issue where removing old SemaphoreAzureStorage instances in the SyncJobQueue would attempt to modify the array inside of an enumeration.
v1.0.5 - Fixed issue where last item in queue would Monitor.Wait() when there are no other threads waiting.
v1.0.4 - Fixed issue where using SyncJobQueue would deadlock all waiting threads until timeout.
        Added better cleanup checking of expired entries.
v1.0.3 - Made JobEntry constructors public,
        Fixed CancellationToken on SemaphoreAzureStorage.Wait(TimeSpan timeout, CancellationToken token, out string entryId),
        Added Wait() and Release() methods that do not require entry id maintainence.  The entry ids are now stored and referenced from a ThreadLocal<> property of SemaphoreAzureStorage.
v1.0.2 - Added verbose flag, fixed possible hang on last item in queue.
v1.0.1 - Removed "Trace" calls.
v1.0.0 - Initial Release

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.3 1,619 7/8/2016
1.1.2 1,187 6/8/2016
1.1.1 1,136 6/8/2016
1.1.0 1,249 5/19/2016
1.0.8 1,141 5/19/2016
1.0.7 1,209 5/19/2016
1.0.6 1,172 5/2/2016
1.0.5 1,105 5/2/2016
1.0.4 1,145 5/2/2016
1.0.3 1,297 4/29/2016
1.0.2 1,123 4/28/2016
1.0.1 1,487 4/27/2016
1.0.0 1,572 4/21/2016