Interface GzipInterceptorMBean
- All Known Implementing Classes:
- GzipInterceptor
public interface GzipInterceptorMBean
- 
Method SummaryModifier and TypeMethodDescriptionlonglongintintgetCount()intintintintintintlonglongbooleanlonglongvoidreport()voidreset()voidsetCompressionMinSize(int compressionMinSize) Set the minimum payload size for compression to be enabled.voidsetInterval(int interval) If statistics collection is enabled, set the number of messages between statistics reports being written to the log.voidsetOptionFlag(int optionFlag) voidsetStatsEnabled(boolean statsEnabled) Configure whether the interceptor collects statistics.
- 
Method Details- 
getOptionFlagint getOptionFlag()
- 
setOptionFlagvoid setOptionFlag(int optionFlag) 
- 
getCompressionMinSizeint getCompressionMinSize()- Returns:
- the minimum payload size for compression to be enabled.
 
- 
setCompressionMinSizevoid setCompressionMinSize(int compressionMinSize) Set the minimum payload size for compression to be enabled. A value of zero or less means compression will always be used. If not explicitly configured, a default of zero will be used.- Parameters:
- compressionMinSize- The new minimum payload size
 
- 
getStatsEnabledboolean getStatsEnabled()- Returns:
- trueif the interceptor is configured to collect statistics, otherwise- false
 
- 
setStatsEnabledvoid setStatsEnabled(boolean statsEnabled) Configure whether the interceptor collects statistics.- Parameters:
- statsEnabled-- trueto enable statistics collections, otherwise- false
 
- 
getIntervalint getInterval()- Returns:
- If statistics collection is enabled, the number of messages between statistics reports being written to the log.
 
- 
setIntervalvoid setInterval(int interval) If statistics collection is enabled, set the number of messages between statistics reports being written to the log. A value of zero or less means no statistics reports are written.- Parameters:
- interval- The new interval between reports
 
- 
getCountint getCount()
- 
getCountCompressedTXint getCountCompressedTX()
- 
getCountUncompressedTXint getCountUncompressedTX()
- 
getCountCompressedRXint getCountCompressedRX()
- 
getCountUncompressedRXint getCountUncompressedRX()
- 
getSizeTXlong getSizeTX()
- 
getCompressedSizeTXlong getCompressedSizeTX()
- 
getUncompressedSizeTXlong getUncompressedSizeTX()
- 
getSizeRXlong getSizeRX()
- 
getCompressedSizeRXlong getCompressedSizeRX()
- 
getUncompressedSizeRXlong getUncompressedSizeRX()
- 
resetvoid reset()
- 
reportvoid report()
 
-