MCPcopy Create free account
hub / github.com/apache/storm / close

Method close

storm-client/src/jvm/org/apache/storm/testing/TmpPath.java:50–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 @Override
51 public void close() {
52 if (path.exists()) {
53 try {
54 FileUtils.forceDelete(path);
55 } catch (Exception e) {
56 //on windows, the host process still holds lock on the logfile
57 LOG.info(e.getMessage());
58 }
59 }
60 }
61}

Callers

nothing calls this directly

Calls 3

forceDeleteMethod · 0.80
existsMethod · 0.65
getMessageMethod · 0.45

Tested by

no test coverage detected