Class BaseMapperTask<KOut,VOut>

java.lang.Object
org.redisson.mapreduce.BaseMapperTask<KOut,VOut>
Type Parameters:
KOut - output key
VOut - output value
All Implemented Interfaces:
Serializable, Runnable
Direct Known Subclasses:
CollectionMapperTask, MapperTask

public abstract class BaseMapperTask<KOut,VOut> extends Object implements Runnable, Serializable
Author:
Nikita Koksharov
See Also:
  • Field Details

    • redisson

      protected RedissonClient redisson
    • objectClass

      protected Class<?> objectClass
    • objectNames

      protected List<String> objectNames
    • objectCodecClass

      protected Class<?> objectCodecClass
    • workersAmount

      protected int workersAmount
    • collectorMapName

      protected String collectorMapName
    • timeout

      protected long timeout
  • Constructor Details

    • BaseMapperTask

      public BaseMapperTask()
    • BaseMapperTask

      public BaseMapperTask(Class<?> objectClass, Class<?> objectCodecClass)
  • Method Details

    • addObjectName

      public void addObjectName(String objectName)
    • clearObjectNames

      public void clearObjectNames()
    • setTimeout

      public void setTimeout(long timeout)
    • setWorkersAmount

      public void setWorkersAmount(int workersAmount)
    • setCollectorMapName

      public void setCollectorMapName(String collatorMapName)