Package org.apache.shenyu.common.config
Class ShenyuConfig.MatchCache
- java.lang.Object
-
- org.apache.shenyu.common.config.ShenyuConfig.MatchCache
-
- Enclosing class:
- ShenyuConfig
public static class ShenyuConfig.MatchCache extends java.lang.Objectthe match cache.
-
-
Constructor Summary
Constructors Constructor Description MatchCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetMaxSelectorFreeMemory()Gets maxFreeMemory.booleangetSelectorEnabled()Get selector cache enabled.voidsetMaxSelectorFreeMemory(java.lang.Integer maxSelectorFreeMemory)Sets maxFreeMemory.voidsetSelectorEnabled(boolean selectorEnabled)Set selector enabled.
-
-
-
Method Detail
-
getSelectorEnabled
public boolean getSelectorEnabled()
Get selector cache enabled.- Returns:
- the enabled
-
setSelectorEnabled
public void setSelectorEnabled(boolean selectorEnabled)
Set selector enabled.- Parameters:
selectorEnabled- the enabled
-
getMaxSelectorFreeMemory
public java.lang.Integer getMaxSelectorFreeMemory()
Gets maxFreeMemory.- Returns:
- the maxFreeMemory
-
setMaxSelectorFreeMemory
public void setMaxSelectorFreeMemory(java.lang.Integer maxSelectorFreeMemory)
Sets maxFreeMemory.- Parameters:
maxSelectorFreeMemory- the maxFreeMemory
-
-