Class AdminOperationsHandler

    • Constructor Detail

      • AdminOperationsHandler

        protected AdminOperationsHandler​(Class<? extends AdminServerTask>... taskClasses)
    • Method Detail

      • getTasks

        public List<Task> getTasks()
        Description copied from interface: TaskEngine
        Returns the list of tasks managed by this engine
        Specified by:
        getTasks in interface TaskEngine
      • runTask

        public <T> CompletableFuture<T> runTask​(String taskName,
                                                TaskContext context,
                                                Executor executor)
        Description copied from interface: TaskEngine
        Executes the named task on the specified cache, passing a map of named parameters.
        Specified by:
        runTask in interface TaskEngine
        taskName - the name of the task
        context - a task context
        executor - the executor which the can be used by the task engine to run the task
      • handles

        public boolean handles​(String taskName)
        Description copied from interface: TaskEngine
        Returns whether this task engine knows about a specified named task
        Specified by:
        handles in interface TaskEngine