Table of Contents

Class ActiveObjectCounter<T>

Namespace
Steeltoe.Messaging.RabbitMQ.Util
Assembly
Steeltoe.Messaging.RabbitMQ.dll
public class ActiveObjectCounter<T>

Type Parameters

T
Inheritance
ActiveObjectCounter<T>
Inherited Members

Properties

Count

public int Count { get; }

Property Value

int

IsActive

public bool IsActive { get; }

Property Value

bool

Methods

Add(T)

public void Add(T activeObject)

Parameters

activeObject T

Deactivate()

public void Deactivate()

Release(T)

public void Release(T activeObject)

Parameters

activeObject T

Reset()

public void Reset()

Wait(TimeSpan)

public bool Wait(TimeSpan timeout)

Parameters

timeout TimeSpan

Returns

bool