Pool is a connection pool interface
| 9 | |
| 10 | // Pool is a connection pool interface |
| 11 | type Pool interface { |
| 12 | // GetTask get a task from pool |
| 13 | GetTask() (*Task, error) |
| 14 | // PutTask put a task into pool |
| 15 | PutTask(task *Task) error |
| 16 | // GetTaskNum get the number of tasks in the pool |
| 17 | GetTaskNum() int |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected