(String fileName, Binary md5)
| 102 | } |
| 103 | |
| 104 | public void closeFile(String fileName, Binary md5) { |
| 105 | var hotManager = connector.TryGetReadySocket(); |
| 106 | var r = new CloseFile(); |
| 107 | r.Argument.setFileName(fileName); |
| 108 | r.Argument.setMd5(md5); |
| 109 | r.SendForWait(hotManager).await(); |
| 110 | if (r.getResultCode() != 0) |
| 111 | throw new RuntimeException("close file error. " + IModule.getErrorCode(r.getResultCode())); |
| 112 | } |
| 113 | |
| 114 | public void prepareDistribute(long id) { |
| 115 | var hotManager = connector.TryGetReadySocket(); |
no test coverage detected