Behaviours: gen_server.
nas_counters() = {erlang:timestamp(), [#nas_counter{}]}
srv_counters() = [#server_counter{}]
stats() = {srv_counters(), nas_counters()}
aggregate/1 | calculate the per server sum of all counters of a per NAS list of counters. |
inc_counter/2 | increment a specific counter value. |
inc_reply_counter/2 | increment reply counters. |
inc_request_counter/2 | increment requests counters. |
init_counter/1 | initialize a counter structure. |
pull/0 | read counters and reset to zero. |
read/0 | read counters. |
reset/0 | reset all counters to zero. |
reset_counter/1 | reset counters. |
calculate the per server sum of all counters of a per NAS list of counters
inc_counter(Counter, Counters) -> any()
increment a specific counter value
inc_reply_counter(Counter, Nas) -> any()
increment reply counters
inc_request_counter(Counter, Nas) -> any()
increment requests counters
init_counter(Key) -> any()
initialize a counter structure
pull() -> stats()
read counters and reset to zero
read() -> stats()
read counters
reset() -> any()
reset all counters to zero
reset_counter(Server_counter) -> any()
reset counters
Generated by EDoc