Class AbstractCallableCommand

java.lang.Object
com.redis.riot.core.BaseCommand
com.redis.riot.core.AbstractCallableCommand
All Implemented Interfaces:
Callable<Integer>
Direct Known Subclasses:
AbstractJobCommand

public abstract class AbstractCallableCommand extends BaseCommand implements Callable<Integer>
  • Field Details

    • log

      protected org.slf4j.Logger log
  • Constructor Details

    • AbstractCallableCommand

      public AbstractCallableCommand()
  • Method Details

    • call

      public Integer call() throws Exception
      Specified by:
      call in interface Callable<Integer>
      Throws:
      Exception
    • initialize

      protected void initialize()
    • execute

      protected abstract void execute()
    • teardown

      protected void teardown()
    • getLog

      public org.slf4j.Logger getLog()
    • setLog

      public void setLog(org.slf4j.Logger log)