| Publicity: |
|---|
| [Public Only | All] |
This file defines the following Objects and Classes: ::throttle
, ::Counter
, ::Users
- Location:
- packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl
::throttle ::Counter proc set_in_all_instances (public)::throttle do ::Counter A helper function to set in all (direct or indirect) instances an instance variable to the same value. This is used here in combination with changing parameters |
::throttle ::Users proc active (public)::throttle do ::Users Return a list of lists containing information about current users. If the switch 'full' is used this list contains these users who have used the server within the monitoring time window (per default: 10 minutes). Otherwise, just a list of requestors (user_ids or peer addresses for unauthenticated requests) is returned. |
::throttle ::Users proc hits (public)::throttle do ::Users
|
::throttle ::Users proc last_pa (public)::throttle do ::Users
|
::throttle ::Users proc nr_active (public)::throttle do ::Users
|
::throttle ::Users proc nr_users_time_window (public)::throttle do ::Users
|
::throttle proc check (public)::throttle This method should be called once per request that is monitored. It should be called after authentication shuch we have already the userid if the user is authenticated |
string_truncate_middle (public)string_truncate_middle [ -ellipsis ellipsis ] [ -len len ] string cut middle part of a string in case it is to long |