Class CommandLineHandlerCacheCalculate

java.lang.Object
net.messagevortex.commandline.CommandLineHandlerCacheCalculate
All Implemented Interfaces:
Callable<Integer>

public class CommandLineHandlerCacheCalculate extends Object implements Callable<Integer>

Commandline handler for pre-populating keys in cache.

  • Constructor Details

    • CommandLineHandlerCacheCalculate

      public CommandLineHandlerCacheCalculate()
  • Method Details

    • call

      public Integer call() throws IOException

      Run a cache pre-calculator to fill cache for the specified duration.

      Specified by:
      call in interface Callable<Integer>
      Returns:
      always returns exit code 0
      Throws:
      IOException - when unable to run the cache pre-calculator