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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Class<?>protected Class<?>protected RedissonClientprotected longprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObjectName(String objectName) voidvoidsetCollectorMapName(String collatorMapName) voidsetTimeout(long timeout) voidsetWorkersAmount(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
-