public interface GzipInterceptorMBean
Modifier and Type | Method and Description |
---|---|
long |
getCompressedSizeRX() |
long |
getCompressedSizeTX() |
int |
getCompressionMinSize() |
int |
getCount() |
int |
getCountCompressedRX() |
int |
getCountCompressedTX() |
int |
getCountUncompressedRX() |
int |
getCountUncompressedTX() |
int |
getInterval() |
int |
getOptionFlag() |
long |
getSizeRX() |
long |
getSizeTX() |
boolean |
getStatsEnabled() |
long |
getUncompressedSizeRX() |
long |
getUncompressedSizeTX() |
void |
report() |
void |
reset() |
void |
setCompressionMinSize(int compressionMinSize)
Set the minimum payload size for compression to be enabled.
|
void |
setInterval(int interval)
If statistics collection is enabled, set the number of messages between
statistics reports being written to the log.
|
void |
setOptionFlag(int optionFlag) |
void |
setStatsEnabled(boolean statsEnabled)
Configure whether the interceptor collects statistics.
|
int getOptionFlag()
void setOptionFlag(int optionFlag)
int getCompressionMinSize()
void setCompressionMinSize(int compressionMinSize)
compressionMinSize
- The new minimum payload sizeboolean getStatsEnabled()
true
if the interceptor is configured to collect
statistics, otherwise false
void setStatsEnabled(boolean statsEnabled)
statsEnabled
- true
to enable statistics collections,
otherwise false
int getInterval()
void setInterval(int interval)
interval
- The new interval between reportsint getCount()
int getCountCompressedTX()
int getCountUncompressedTX()
int getCountCompressedRX()
int getCountUncompressedRX()
long getSizeTX()
long getCompressedSizeTX()
long getUncompressedSizeTX()
long getSizeRX()
long getCompressedSizeRX()
long getUncompressedSizeRX()
void reset()
void report()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.