@Override public void flush() throws IOException { if (debug) OLogManager.instance().info(this, "%s - Flush", socket.getRemoteSocketAddress()); updateMetricFlushes(); super.flush(); out.flush(); }
@Override public void flush() throws IOException { if (debug) OLogManager.instance() .info( this, "%s - Flush", socket != null ? " null possible previous close" : socket.getRemoteSocketAddress()); updateMetricFlushes(); super.flush(); if (out != null) out.flush(); }