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

    updateMetricFlushes();

    super.flush();
    out.flush();
  }
Exemplo n.º 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();
  }