Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java @ 945:89fe80dfab2c
remove asyncDispatch()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 11 Oct 2016 20:53:06 -0600 |
parents | b77d631b9e28 |
children | 901dcfa05c32 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Tue Oct 11 20:16:03 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Tue Oct 11 20:53:06 2016 -0600 @@ -117,31 +117,22 @@ } } - /* ------------------------------------------------------------ */ public SelectorManager getSelectManager() { return _manager; } - /* ------------------------------------------------------------ */ public Connection getConnection() { return _connection; } - /* ------------------------------------------------------------ */ public void setConnection(Connection connection) { _connection=(AsyncConnection)connection; } /* ------------------------------------------------------------ */ - public long getIdleTimestamp() - { - return _idleTimestamp; - } - - /* ------------------------------------------------------------ */ /** Called by selectSet to schedule handling * */ @@ -198,26 +189,6 @@ } /* ------------------------------------------------------------ */ - public void asyncDispatch() - { - synchronized(this) - { - switch(_state) - { - case STATE_NEEDS_DISPATCH: - case STATE_UNDISPATCHED: - dispatch(); - break; - - case STATE_DISPATCHED: - case STATE_ASYNC: - _state=STATE_ASYNC; - break; - } - } - } - - /* ------------------------------------------------------------ */ public void dispatch() { synchronized(this)