Package org.redisson.mapreduce
Class BaseMapperTask<KOut,VOut>
java.lang.Object
org.redisson.mapreduce.BaseMapperTask<KOut,VOut>
- Type Parameters:
KOut
- output keyVOut
- output value
- All Implemented Interfaces:
Serializable
,Runnable
- Direct Known Subclasses:
CollectionMapperTask
,MapperTask
- Author:
- Nikita Koksharov
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Class<?>
protected Class<?>
protected RedissonClient
protected long
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObjectName
(String objectName) void
void
setCollectorMapName
(String collatorMapName) void
setTimeout
(long timeout) void
setWorkersAmount
(int workersAmount)
-
Field Details
-
redisson
-
objectClass
-
objectNames
-
objectCodecClass
-
workersAmount
protected int workersAmount -
collectorMapName
-
timeout
protected long timeout
-
-
Constructor Details
-
BaseMapperTask
public BaseMapperTask() -
BaseMapperTask
-
-
Method Details
-
addObjectName
-
clearObjectNames
public void clearObjectNames() -
setTimeout
public void setTimeout(long timeout) -
setWorkersAmount
public void setWorkersAmount(int workersAmount) -
setCollectorMapName
-