Mercurial Hosting > luan
changeset 946:901dcfa05c32
remove SelectChannelEndPoint._interruptable
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 11 Oct 2016 21:10:17 -0600 |
parents | 89fe80dfab2c |
children | 64f3d8dae31d |
files | src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java |
diffstat | 1 files changed, 0 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
diff -r 89fe80dfab2c -r 901dcfa05c32 src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java --- a/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Tue Oct 11 20:53:06 2016 -0600 +++ b/src/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java Tue Oct 11 21:10:17 2016 -0600 @@ -88,8 +88,6 @@ private volatile long _idleTimestamp; private volatile boolean _checkIdle; - private boolean _interruptable; - private boolean _ishut; /* ------------------------------------------------------------ */ @@ -403,8 +401,6 @@ catch (final InterruptedException e) { LOG.warn("",e); - if (_interruptable) - throw new InterruptedIOException(){{this.initCause(e);}}; } finally { @@ -453,8 +449,6 @@ catch (final InterruptedException e) { LOG.warn("",e); - if (_interruptable) - throw new InterruptedIOException(){{this.initCause(e);}}; } finally { @@ -474,28 +468,6 @@ } /* ------------------------------------------------------------ */ - /** Set the interruptable mode of the endpoint. - * If set to false (default), then interrupts are assumed to be spurious - * and blocking operations continue unless the endpoint has been closed. - * If true, then interrupts of blocking operations result in InterruptedIOExceptions - * being thrown. - * @param interupable - */ - public void setInterruptable(boolean interupable) - { - synchronized (this) - { - _interruptable=interupable; - } - } - - /* ------------------------------------------------------------ */ - public boolean isInterruptable() - { - return _interruptable; - } - - /* ------------------------------------------------------------ */ /** * @see org.eclipse.jetty.io.AsyncEndPoint#scheduleWrite() */