Class ThriftSenderBase
java.lang.Object
com.broadleafcommerce.common.extension.monitor.ThriftSenderBase
- Direct Known Subclasses:
ThriftSender
Modified from original for compatibility with libthrift 0.14.0
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
protected final org.apache.thrift.protocol.TProtocolFactory
-
Constructor Summary
ConstructorDescriptionThriftSenderBase
(ThriftSenderBase.ProtocolType protocolType, int maxPacketSize) -
Method Summary
-
Field Details
-
EMIT_BATCH_OVERHEAD
public static final int EMIT_BATCH_OVERHEAD- See Also:
-
protocolFactory
protected final org.apache.thrift.protocol.TProtocolFactory protocolFactory
-
-
Constructor Details
-
ThriftSenderBase
- Parameters:
protocolType
- protocol type (compact or binary)maxPacketSize
- if 0 it will use default value 65000
-
-
Method Details