C# Class Jellyfish.Commands.TryableSemaphoreActual

Semaphore that only supports tryAcquire and never blocks and that supports a dynamic permit count.
Inheritance: ITryableSemaphore
Mostra file Open project: Zenasoft/Jellyfish.Commands

Private Properties

Property Type Description

Public Methods

Method Description
Release ( ) : void
ToString ( ) : string
TryAcquire ( ) : bool
TryableSemaphoreActual ( IDynamicProperty numberOfPermits ) : Jellyfish.Configuration

Method Details

Release() public method

public Release ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

TryAcquire() public method

public TryAcquire ( ) : bool
return bool

TryableSemaphoreActual() public method

public TryableSemaphoreActual ( IDynamicProperty numberOfPermits ) : Jellyfish.Configuration
numberOfPermits IDynamicProperty
return Jellyfish.Configuration