Package org.redisson.executor.params
Class TaskParameters
- java.lang.Object
-
- org.redisson.executor.params.TaskParameters
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ScheduledParameters
public class TaskParameters extends Object implements Serializable
- Author:
- Nikita Koksharov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskParameters()
TaskParameters(String className, byte[] classBody, byte[] lambdaBody, byte[] state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getClassBody()
String
getClassName()
byte[]
getLambdaBody()
String
getRequestId()
byte[]
getState()
long
getTtl()
void
setClassBody(byte[] classBody)
void
setClassName(String className)
void
setLambdaBody(byte[] lambdaBody)
void
setRequestId(String requestId)
void
setState(byte[] state)
void
setTtl(long ttl)
-
-
-
Constructor Detail
-
TaskParameters
public TaskParameters()
-
TaskParameters
public TaskParameters(String className, byte[] classBody, byte[] lambdaBody, byte[] state)
-
-
Method Detail
-
getTtl
public long getTtl()
-
setTtl
public void setTtl(long ttl)
-
getLambdaBody
public byte[] getLambdaBody()
-
setLambdaBody
public void setLambdaBody(byte[] lambdaBody)
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getClassBody
public byte[] getClassBody()
-
setClassBody
public void setClassBody(byte[] classBody)
-
getState
public byte[] getState()
-
setState
public void setState(byte[] state)
-
getRequestId
public String getRequestId()
-
setRequestId
public void setRequestId(String requestId)
-
-