Exemplo n.º 1
0
  private void logQueueFullInfo(MessageTree tree) {
    if (m_statistics != null) {
      m_statistics.onOverflowed(tree);
    }

    int count = m_errors.incrementAndGet();

    if (count % 1000 == 0 || count == 1) {
      m_logger.error("Message queue is full in tcp socket sender! Count: " + count);
    }

    tree = null;
  }