Class ActiveObjectCounter<T>
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class ActiveObjectCounter<T>
Type Parameters
T
- Inheritance
-
ActiveObjectCounter<T>
- Inherited Members
Properties
Count
public int Count { get; }
Property Value
IsActive
public bool IsActive { get; }
Property Value
Methods
Add(T)
public void Add(T activeObject)
Parameters
activeObjectT
Deactivate()
public void Deactivate()
Release(T)
public void Release(T activeObject)
Parameters
activeObjectT
Reset()
public void Reset()
Wait(TimeSpan)
public bool Wait(TimeSpan timeout)
Parameters
timeoutTimeSpan