Package org.apache.shenyu.common.config
Class ShenyuConfig.Scheduler
- java.lang.Object
-
- org.apache.shenyu.common.config.ShenyuConfig.Scheduler
-
- Enclosing class:
- ShenyuConfig
public static class ShenyuConfig.Scheduler extends java.lang.ObjectThe type Scheduler.
-
-
Constructor Summary
Constructors Constructor Description Scheduler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetEnabled()Gets enabled.java.lang.IntegergetThreads()Gets threads.java.lang.StringgetType()Gets type.voidsetEnabled(boolean enabled)Sets enabled.voidsetThreads(java.lang.Integer threads)Sets threads.voidsetType(java.lang.String type)Sets type.
-
-
-
Method Detail
-
getEnabled
public boolean getEnabled()
Gets enabled.- Returns:
- the enabled
-
setEnabled
public void setEnabled(boolean enabled)
Sets enabled.- Parameters:
enabled- the enabled
-
getType
public java.lang.String getType()
Gets type.- Returns:
- the type
-
setType
public void setType(java.lang.String type)
Sets type.- Parameters:
type- the type
-
getThreads
public java.lang.Integer getThreads()
Gets threads.- Returns:
- the threads
-
setThreads
public void setThreads(java.lang.Integer threads)
Sets threads.- Parameters:
threads- the threads
-
-