public class TimeoutChangeableTFastFramedTransport extends TElasticFramedTransport implements TimeoutChangeableTransport
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TimeoutChangeableTFastFramedTransport.Factory |
i32buf, readBuffer, thriftDefaultBufferSize, thriftMaxFrameSize, underlying, writeBuffer| 构造器和说明 |
|---|
TimeoutChangeableTFastFramedTransport(org.apache.thrift.transport.TSocket underlying,
int thriftDefaultBufferSize,
int thriftMaxFrameSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getTimeOut() |
void |
setTimeout(int timeout) |
checkReadBytesAvailable, close, flush, getConfiguration, isOpen, open, read, readFrame, updateKnownMessageSize, writepublic TimeoutChangeableTFastFramedTransport(org.apache.thrift.transport.TSocket underlying,
int thriftDefaultBufferSize,
int thriftMaxFrameSize)
public void setTimeout(int timeout)
setTimeout 在接口中 TimeoutChangeableTransportpublic int getTimeOut()
throws SocketException
getTimeOut 在接口中 TimeoutChangeableTransportSocketExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.