public class TimeoutChangeableTSnappyFramedTransport extends TSnappyElasticFramedTransport implements TimeoutChangeableTransport
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TimeoutChangeableTSnappyFramedTransport.Factory |
i32buf, readBuffer, thriftDefaultBufferSize, thriftMaxFrameSize, underlying, writeBuffer| 构造器和说明 |
|---|
TimeoutChangeableTSnappyFramedTransport(org.apache.thrift.transport.TSocket underlying,
int thriftDefaultBufferSize,
int thriftMaxFrameSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getTimeOut() |
void |
setTimeout(int timeout) |
compress, maxCompressedLength, uncompress, uncompressedLengthflush, readFramecheckReadBytesAvailable, close, getConfiguration, isOpen, open, read, updateKnownMessageSize, writepublic TimeoutChangeableTSnappyFramedTransport(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.