Interface ManagedStreamCachingStrategyMBean
- All Superinterfaces:
ManagedServiceMBean
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumUsed for selecting if the memory limit is committed or maximum heap memory setting. -
Method Summary
Modifier and TypeMethodDescriptionString[]intlonglonglonglonglonglongString[]longintbooleanbooleanbooleanbooleanbooleanvoidvoidsetAnySpoolRules(boolean any) voidsetBufferSize(int bufferSize) voidsetRemoveSpoolDirectoryWhenStopping(boolean remove) voidsetSpoolThreshold(long threshold) voidvoidsetSpoolUsedHeapMemoryThreshold(int percentage) voidsetStatisticsEnabled(boolean enabled) Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
-
Method Details
-
isEnabled
-
getAllowClasses
@ManagedAttribute(description="To filter stream caching of a given set of allowed/denied classes.") String[] getAllowClasses() -
getDenyClasses
@ManagedAttribute(description="To filter stream caching of a given set of allowed/denied classes.") String[] getDenyClasses() -
isSpoolEnabled
-
getSpoolDirectory
@ManagedAttribute(description="Directory used when overflow and spooling to disk") String getSpoolDirectory() -
getSpoolCipher
-
setSpoolThreshold
@ManagedAttribute(description="Threshold in bytes when overflow and spooling to disk instead of keeping in memory") void setSpoolThreshold(long threshold) -
getSpoolThreshold
@ManagedAttribute(description="Threshold in bytes when overflow and spooling to disk instead of keeping in memory") long getSpoolThreshold() -
setSpoolUsedHeapMemoryThreshold
@ManagedAttribute(description="Percentage (1-99) of used heap memory threshold to activate spooling to disk") void setSpoolUsedHeapMemoryThreshold(int percentage) -
getSpoolUsedHeapMemoryThreshold
@ManagedAttribute(description="Percentage (1-99) of used heap memory threshold to activate spooling to disk") int getSpoolUsedHeapMemoryThreshold() -
setSpoolUsedHeapMemoryLimit
@ManagedAttribute(description="Whether used heap memory limit is committed or maximum") void setSpoolUsedHeapMemoryLimit(ManagedStreamCachingStrategyMBean.SpoolUsedHeapMemoryLimit limit) -
getSpoolUsedHeapMemoryLimit
@ManagedAttribute(description="Whether used heap memory limit is committed or maximum") ManagedStreamCachingStrategyMBean.SpoolUsedHeapMemoryLimit getSpoolUsedHeapMemoryLimit() -
setBufferSize
@ManagedAttribute(description="Buffer size in bytes to use when coping between buffers") void setBufferSize(int bufferSize) -
getBufferSize
@ManagedAttribute(description="Buffer size in bytes to use when coping between buffers") int getBufferSize() -
setRemoveSpoolDirectoryWhenStopping
@ManagedAttribute(description="Whether to remove spool directory when stopping") void setRemoveSpoolDirectoryWhenStopping(boolean remove) -
isRemoveSpoolDirectoryWhenStopping
@ManagedAttribute(description="Whether to remove spool directory when stopping") boolean isRemoveSpoolDirectoryWhenStopping() -
setAnySpoolRules
@ManagedAttribute(description="Whether any or all spool rules determines whether to spool") void setAnySpoolRules(boolean any) -
isAnySpoolRules
@ManagedAttribute(description="Whether any or all spool rules determines whether to spool") boolean isAnySpoolRules() -
getCacheMemoryCounter
@ManagedAttribute(description="Number of in-memory StreamCache created") long getCacheMemoryCounter() -
getCacheMemorySize
@ManagedAttribute(description="Total accumulated number of bytes which has been stream cached for in-memory StreamCache") long getCacheMemorySize() -
getCacheMemoryAverageSize
@ManagedAttribute(description="Average number of bytes per cached stream for in-memory stream caches.") long getCacheMemoryAverageSize() -
getCacheSpoolCounter
@ManagedAttribute(description="Number of spooled (not in-memory) StreamCache created") long getCacheSpoolCounter() -
getCacheSpoolSize
@ManagedAttribute(description="Total accumulated number of bytes which has been stream cached for spooled StreamCache") long getCacheSpoolSize() -
getCacheSpoolAverageSize
@ManagedAttribute(description="Average number of bytes per cached stream for spooled (not in-memory) stream caches.") long getCacheSpoolAverageSize() -
isStatisticsEnabled
@ManagedAttribute(description="Whether utilization statistics is enabled") boolean isStatisticsEnabled() -
setStatisticsEnabled
@ManagedAttribute(description="Whether utilization statistics is enabled") void setStatisticsEnabled(boolean enabled) -
resetStatistics
-