Jetty9 - More logging.

This commit is contained in:
Simone Bordet 2012-08-07 17:29:13 +02:00
parent cac1c933c3
commit 2816187e0d
1 changed files with 23 additions and 21 deletions

View File

@ -103,7 +103,9 @@ abstract public class WriteFlusher
if (!isTransitionAllowed(previous,next))
throw new IllegalStateException();
return _state.compareAndSet(previous,next);
boolean updated = _state.compareAndSet(previous, next);
LOG.debug("State update {} -> {} succeeded: {}", previous, next, updated);
return updated;
}
private void fail(PendingState<?> pending)