예제 #1
0
  @Override
  public void flush() throws IOException {
    if (debug) OLogManager.instance().info(this, "%s - Flush", socket.getRemoteSocketAddress());

    updateMetricFlushes();

    super.flush();
    out.flush();
  }
예제 #2
0
  @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();
  }