Commit 8e352c54 authored by TousakaRin's avatar TousakaRin

add comments

parent 443b0c2b
......@@ -38,11 +38,15 @@ public:
// ensure that no one else is calling OnCallEnd.
void Reset();
// Not thread-safe
// Mark the Socket as broken. You should NOT call this method multiple
// times in succession.
void MarkAsBroken();
// The closer to 100, the less recent errors occurred, and 0 means that
// it should be isolated.
int health_index_in_percent() const;
// Number of times marked as broken
int broken_times() const {
return _broken_times;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment