MCPcopy Create free account
hub / github.com/afkT/DevUtils / flush

Method flush

lib/DevApp/src/main/java/dev/utils/common/CloseUtils.java:61–72  ·  view source on GitHub ↗

将缓冲区数据输出 @param flushables Flushable[]

(final Flushable... flushables)

Source from the content-addressed store, hash-verified

59 * @param flushables Flushable[]
60 */
61 public static void flush(final Flushable... flushables) {
62 if (flushables == null) return;
63 for (Flushable flushable : flushables) {
64 if (flushable != null) {
65 try {
66 flushable.flush();
67 } catch (Exception e) {
68 JCLogUtils.eTag(TAG, e, "flush");
69 }
70 }
71 }
72 }
73
74 /**
75 * 安静将缓冲区数据输出

Callers 1

flushMethod · 0.95

Calls 2

eTagMethod · 0.95
flushMethod · 0.65

Tested by

no test coverage detected