KOut
- output keyVOut
- output valueSerializable
, Runnable
CollectionMapperTask
, MapperTask
public abstract class BaseMapperTask<KOut,VOut> extends Object implements Runnable, Serializable
Modifier and Type | Field | Description |
---|---|---|
protected String |
collectorMapName |
|
protected Class<?> |
objectClass |
|
protected Class<?> |
objectCodecClass |
|
protected List<String> |
objectNames |
|
protected RedissonClient |
redisson |
|
protected long |
timeout |
|
protected int |
workersAmount |
Constructor | Description |
---|---|
BaseMapperTask() |
|
BaseMapperTask(Class<?> objectClass,
Class<?> objectCodecClass) |
Modifier and Type | Method | Description |
---|---|---|
void |
addObjectName(String objectName) |
|
void |
clearObjectNames() |
|
void |
setCollectorMapName(String collatorMapName) |
|
void |
setTimeout(long timeout) |
|
void |
setWorkersAmount(int workersAmount) |
protected RedissonClient redisson
protected Class<?> objectClass
protected Class<?> objectCodecClass
protected int workersAmount
protected String collectorMapName
protected long timeout
public void addObjectName(String objectName)
public void clearObjectNames()
public void setTimeout(long timeout)
public void setWorkersAmount(int workersAmount)
public void setCollectorMapName(String collatorMapName)
Copyright © 2014–2018 The Redisson Project. All rights reserved.