Add the Stats api to driverhandle

This commit is contained in:
Diptanu Choudhury
2016-04-28 16:06:01 -07:00
parent e3f8d31b75
commit 1cae57aee9
12 changed files with 78 additions and 1 deletions

View File

@@ -380,6 +380,10 @@ func (h *javaHandle) Kill() error {
}
}
func (h *javaHandle) Stats() (*cstructs.TaskResourceUsage, error) {
return h.executor.Stats()
}
func (h *javaHandle) run() {
ps, err := h.executor.Wait()
close(h.doneCh)