[This is preliminary documentation and is subject to change.]
The IThrottle type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() | ![]() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ![]() |
![]() | Register |
Register this instance with throttling container
|
![]() | Reset |
Reset the internal state of the throttle
|
![]() | Try |
Checks whether the current throttle rate limit has not been reached
per one unit of measurement. This method is usually used to throttle based
on pass count
|
![]() | Try(Double) |
Checks whether the current throttle rate limit has not been reached
for the provided value. This method is usually used to throttle based
on values like financial amounts, data volumes, user counts, etc.
|
![]() | Unregister |
Unregister this instance from throttling container
|
Properties
Name | Description | |
---|---|---|
![]() | ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from IApplicationComponent.) |
![]() | ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from IApplicationComponent.) |
![]() | ComponentSID |
Returns process/instance unique app component system id
(Inherited from IApplicationComponent.) |
![]() | Name |
Returns the unique name of this instance
|
![]() | Unit |
Returns the name of unit of measurement for this instance
|
See Also