Class ThrottleProperties
java.lang.Object
org.apache.synapse.commons.throttle.core.ThrottleProperties
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetDistributedCounterConfigurations(Map<String, String> distributedCounterConfigurations) voidsetDistributedCounterType(String distributedCounterType) voidsetDistributedThrottleProcessorType(String distributedThrottleProcessorType) voidsetHybridThrottleProcessorWindowType(String hybridThrottleProcessorWindowType) voidsetLocalQuotaBufferPercentage(String localQuotaBufferPercentage) voidsetMaxNonAssociatedCounterCleanupAmount(String maxNonAssociatedCounterCleanupAmount) voidsetThrottleContextDistributedCleanupTaskFrequency(String throttleContextDistributedCleanupTaskFrequency) voidsetThrottleContextDistributedExpiredInstanceTime(String throttleContextDistributedExpiredInstanceTime) voidsetThrottleDistributedCleanupAmount(String throttleDistributedCleanupAmount) voidsetThrottleDistributedCleanupPoolSize(String throttleDistributedCleanupPoolSize) voidsetThrottleDistributedCleanupTaskEnable(String throttleDistributedCleanupTaskEnable) voidsetThrottleFrequency(String throttleFrequency) voidsetThrottleSyncAsyncHybridModeEnabled(boolean throttleSyncAsyncHybridModeEnabled) voidsetThrottlingKeysToReplicates(String throttlingKeysToReplicates) voidsetThrottlingPoolSize(String throttlingPoolSize) voidsetThrottlingReplicationFrequency(String throttlingReplicationFrequency) voidsetWindowReplicatorFrequency(String windowReplicatorFrequency) voidsetWindowReplicatorPoolSize(String windowReplicatorPoolSize)
-
Constructor Details
-
ThrottleProperties
public ThrottleProperties()
-
-
Method Details
-
getWindowReplicatorPoolSize
-
setWindowReplicatorPoolSize
-
getWindowReplicatorFrequency
-
setWindowReplicatorFrequency
-
getThrottleDistributedCleanupTaskEnable
-
setThrottleDistributedCleanupTaskEnable
-
getMaxNonAssociatedCounterCleanupAmount
-
setMaxNonAssociatedCounterCleanupAmount
-
getThrottleDistributedCleanupAmount
-
setThrottleDistributedCleanupAmount
-
getThrottleDistributedCleanupPoolSize
-
setThrottleDistributedCleanupPoolSize
-
getThrottleContextDistributedExpiredInstanceTime
-
setThrottleContextDistributedExpiredInstanceTime
public void setThrottleContextDistributedExpiredInstanceTime(String throttleContextDistributedExpiredInstanceTime) -
getThrottleContextDistributedCleanupTaskFrequency
-
setThrottleContextDistributedCleanupTaskFrequency
public void setThrottleContextDistributedCleanupTaskFrequency(String throttleContextDistributedCleanupTaskFrequency) -
getThrottleFrequency
-
setThrottleFrequency
-
getThrottlingPoolSize
-
setThrottlingPoolSize
-
getThrottlingReplicationFrequency
-
setThrottlingReplicationFrequency
-
getThrottlingKeysToReplicates
-
setThrottlingKeysToReplicates
-
getDistributedCounterConfigurations
-
setDistributedCounterConfigurations
-
getDistributedCounterType
-
setDistributedCounterType
-
getDistributedThrottleProcessorType
-
setDistributedThrottleProcessorType
-
setThrottleSyncAsyncHybridModeEnabled
public void setThrottleSyncAsyncHybridModeEnabled(boolean throttleSyncAsyncHybridModeEnabled) -
isThrottleSyncAsyncHybridModeEnabled
public boolean isThrottleSyncAsyncHybridModeEnabled() -
setHybridThrottleProcessorWindowType
-
getHybridThrottleProcessorWindowType
-
setLocalQuotaBufferPercentage
-
getLocalQuotaBufferPercentage
-