public interface StreamChannel
extends java.nio.channels.Channel, java.io.Closeable
Channel read/write operations (usually buffered).| Modifier and Type | Method and Description |
|---|---|
java.lang.Thread |
getParkedThread()
Return the thread if waiting for read/write on this channel.
|
long |
getParkNanosMax()
Maximum time to wait before giving up read/write on channel
|
void |
setParkedThread(java.lang.Thread thread)
Set the thread waiting for read/write on this channel (null to clear).
|
java.lang.Thread getParkedThread()
void setParkedThread(java.lang.Thread thread)
long getParkNanosMax()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.