AddCurrentRequest increment current request count
(num uint64)
| 220 | |
| 221 | // AddCurrentRequest increment current request count |
| 222 | func (state *ServerStateInfo) AddCurrentRequest(num uint64) uint64 { |
| 223 | atomic.AddUint64(&state.CurrentRequestCount, num) |
| 224 | return state.CurrentRequestCount |
| 225 | } |
| 226 | |
| 227 | // SubCurrentRequest subtract current request count |
| 228 | func (state *ServerStateInfo) SubCurrentRequest(num uint64) uint64 { |
no outgoing calls