Uses of Class
org.infinispan.tasks.TaskContext
-
Packages that use TaskContext Package Description org.infinispan.scripting org.infinispan.scripting.utils org.infinispan.server.core.admin org.infinispan.tasks Server tasks API.org.infinispan.tasks.spi -
-
Uses of TaskContext in org.infinispan.scripting
Methods in org.infinispan.scripting with parameters of type TaskContext Modifier and Type Method Description <T> CompletableFuture<T>ScriptingManager. runScript(String scriptName, TaskContext context)Runs a named script using the specifiedTaskContext -
Uses of TaskContext in org.infinispan.scripting.utils
Methods in org.infinispan.scripting.utils with parameters of type TaskContext Modifier and Type Method Description Map<String,?>ScriptConversions. convertParameters(TaskContext context) -
Uses of TaskContext in org.infinispan.server.core.admin
Methods in org.infinispan.server.core.admin with parameters of type TaskContext Modifier and Type Method Description TAdminServerTask. execute(TaskContext taskContext)<T> CompletableFuture<T>AdminOperationsHandler. runTask(String taskName, TaskContext context, Executor executor) -
Uses of TaskContext in org.infinispan.tasks
Methods in org.infinispan.tasks that return TaskContext Modifier and Type Method Description TaskContextTaskContext. addParameter(String name, Object value)Adds a named parameter to the task contextTaskContextTaskContext. cache(Cache<?,?> cache)The cache against which this task will be executed.TaskContextTaskContext. cacheManager(EmbeddedCacheManager cacheManager)The cache manager with which this task should be executedTaskContextTaskContext. logEvent(boolean logEvent)Whether execution will generate an event in the event logTaskContextTaskContext. marshaller(Marshaller marshaller)The marshaller with which this task should be executedTaskContextTaskContext. parameters(Map<String,?> parameters)A map of named parameters that will be passed to the task.TaskContextTaskContext. subject(Subject subject)The subject to impersonate when running this task.Methods in org.infinispan.tasks with parameters of type TaskContext Modifier and Type Method Description <T> CompletableFuture<T>TaskManager. runTask(String taskName, TaskContext context)Executes the named task, passing an optional cache and a map of named parameters.voidServerTask. setTaskContext(TaskContext taskContext)Sets the task context Store the value in your task implementation to be able to access caches and other resources in the task -
Uses of TaskContext in org.infinispan.tasks.spi
Methods in org.infinispan.tasks.spi with parameters of type TaskContext Modifier and Type Method Description <T> CompletableFuture<T>TaskEngine. runTask(String taskName, TaskContext context, Executor executor)Executes the named task on the specified cache, passing a map of named parameters.
-