Class AdminOperationsHandler

java.lang.Object
org.infinispan.server.core.admin.AdminOperationsHandler
All Implemented Interfaces:
org.infinispan.tasks.spi.TaskEngine
Direct Known Subclasses:
EmbeddedServerAdminOperationHandler

public abstract class AdminOperationsHandler extends Object implements org.infinispan.tasks.spi.TaskEngine
AdminOperationsHandler is a special TaskEngine which can handle admin tasks
Since:
9.1
Author:
Tristan Tarrant
  • Constructor Details

    • AdminOperationsHandler

      protected AdminOperationsHandler(AdminServerTask<?>... tasks)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.infinispan.tasks.spi.TaskEngine
    • getTasks

      public List<Task> getTasks()
      Specified by:
      getTasks in interface org.infinispan.tasks.spi.TaskEngine
    • runTask

      public <T> CompletionStage<T> runTask(String taskName, TaskContext context, BlockingManager blockingManager)
      Specified by:
      runTask in interface org.infinispan.tasks.spi.TaskEngine
    • handles

      public boolean handles(String taskName)
      Specified by:
      handles in interface org.infinispan.tasks.spi.TaskEngine