org.red5.server.pooling
Class Worker
java.lang.Object
org.red5.server.pooling.Worker
- All Implemented Interfaces:
- Runnable
public class Worker
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Worker
public Worker()
setResult
public void setResult(Object result)
- Parameters:
result
- The result to set.
getResult
public Object getResult()
- Returns:
- Returns the result.
getClassName
public String getClassName()
- Returns:
- Returns the className.
setClassName
public void setClassName(String className)
- Parameters:
className
- The className to set.
getMethodName
public String getMethodName()
- Returns:
- Returns the methodName.
setMethodName
public void setMethodName(String methodName)
- Parameters:
methodName
- The methodName to set.
getMethodParams
public Object[] getMethodParams()
- Returns:
- Returns the methodParams.
setMethodParams
public void setMethodParams(Object[] methodParams)
- Parameters:
methodParams
- The methodParams to set.
getParamTypes
public Class<?>[] getParamTypes()
- Returns:
- Returns the paramTypes.
setParamTypes
public void setParamTypes(Class<?>[] paramTypes)
- Parameters:
paramTypes
- The paramTypes to set.
execute
public void execute(String clsName,
String methName,
Object[] params,
Class<?>[] paramTypes,
Object synObj)
- execute
- Parameters:
clsName
- class namemethName
- method nameparams
- parameterparamTypes
- parameter typessynObj
- ignored
run
public void run()
-
- Specified by:
run
in interface Runnable
reset
public void reset()
- reset the members to service next request.
Copyright © 2006-2009 The Red5 Project