Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java @ 952:669769bcdf5c
simplify AsyncEndPoint
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 12 Oct 2016 19:47:45 -0600 |
parents | a778413aefc0 |
children | 7db4a488fc82 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Wed Oct 12 18:12:12 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Wed Oct 12 19:47:45 2016 -0600 @@ -230,7 +230,7 @@ _checkIdle=false; } - public boolean isCheckForIdle() + private boolean isCheckForIdle() { return _checkIdle; } @@ -268,7 +268,7 @@ } } - public void onIdleExpired(long idleForMs) + private void onIdleExpired(long idleForMs) { try { @@ -442,25 +442,6 @@ } /* ------------------------------------------------------------ */ - /** - * @see org.eclipse.jetty.io.AsyncEndPoint#scheduleWrite() - */ - public void scheduleWrite() - { - if (_writable) - LOG.debug("Required scheduleWrite {}",this); - - _writable=false; - updateKey(); - } - - /* ------------------------------------------------------------ */ - public boolean isWritable() - { - return _writable; - } - - /* ------------------------------------------------------------ */ public boolean hasProgressed() { return false;