LOG.warn(
"Target server {} is unavailable, pending {}, bufferSize {}, block sending {}ms",
name, pendings.get(), cachedSize, delt);
}
if (timeoutIntervalCheck.check() == true) {
if (messageBatchRef.get() != null) {
LOG.warn(
"Target server {} is unavailable, wait too much time, throw timeout message",
name);
messageBatchRef.set(null);