Class Executor
- java.lang.Object
-
- org.wso2.carbon.priority.executors.ui.Executor
-
public class Executor extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static QName
ATT_NAME
static QName
ATT_VALUE
static QName
BEFORE_EXECUTE_HANDLER
static QName
CLASS_ATT
static QName
CORE_ATT
static QName
IS_FIXED_ATT
static QName
KEEP_ALIVE_ATT
static QName
MAX_ATT
static QName
NAME_ATT
static String
NAMESPACE
static QName
NEXT_QUEUE_ATT
static QName
PRIORITY_ATT
static QName
SIZE_ATT
-
Constructor Summary
Constructors Constructor Description Executor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(org.apache.axiom.om.OMElement e)
String
getAlgorithm()
String
getBeforeExecuteHandler()
int
getCore()
int
getKeepAlive()
int
getMax()
String
getName()
List<Queue>
getQueues()
boolean
isFixedSize()
org.apache.axiom.om.OMElement
serialize()
void
setAlgorithm(String algorithm)
void
setBeforeExecuteHandler(String beforeExecuteHandler)
void
setCore(int core)
void
setFixedSize(boolean fixedSize)
void
setKeepAlive(int keep_alive)
void
setMax(int max)
void
setName(String name)
void
setQueues(List<Queue> queues)
-
-
-
Field Detail
-
NAME_ATT
public static final QName NAME_ATT
-
CLASS_ATT
public static final QName CLASS_ATT
-
ATT_NAME
public static final QName ATT_NAME
-
ATT_VALUE
public static final QName ATT_VALUE
-
SIZE_ATT
public static final QName SIZE_ATT
-
PRIORITY_ATT
public static final QName PRIORITY_ATT
-
IS_FIXED_ATT
public static final QName IS_FIXED_ATT
-
BEFORE_EXECUTE_HANDLER
public static final QName BEFORE_EXECUTE_HANDLER
-
NEXT_QUEUE_ATT
public static final QName NEXT_QUEUE_ATT
-
MAX_ATT
public static final QName MAX_ATT
-
CORE_ATT
public static final QName CORE_ATT
-
KEEP_ALIVE_ATT
public static final QName KEEP_ALIVE_ATT
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public void build(org.apache.axiom.om.OMElement e) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
serialize
public org.apache.axiom.om.OMElement serialize()
-
getCore
public int getCore()
-
getMax
public int getMax()
-
getKeepAlive
public int getKeepAlive()
-
getAlgorithm
public String getAlgorithm()
-
getBeforeExecuteHandler
public String getBeforeExecuteHandler()
-
setCore
public void setCore(int core)
-
setMax
public void setMax(int max)
-
setKeepAlive
public void setKeepAlive(int keep_alive)
-
setAlgorithm
public void setAlgorithm(String algorithm)
-
getName
public String getName()
-
setName
public void setName(String name)
-
setBeforeExecuteHandler
public void setBeforeExecuteHandler(String beforeExecuteHandler)
-
isFixedSize
public boolean isFixedSize()
-
setFixedSize
public void setFixedSize(boolean fixedSize)
-
-