Index
All Classes and Interfaces|All Packages
A
- addOptionalParameter(String, Object) - Method in class org.infinispan.tasks.TaskContext
-
Adds a named parameter to the task context only if it is non-null
- addParameter(String, Object) - Method in class org.infinispan.tasks.TaskContext
-
Adds a named parameter to the task context
- ALL_NODES - Enum constant in enum class org.infinispan.tasks.TaskExecutionMode
C
- cache(Cache<?, ?>) - Method in class org.infinispan.tasks.TaskContext
-
The cache against which this task will be executed.
- cacheManager(EmbeddedCacheManager) - Method in class org.infinispan.tasks.TaskContext
-
The cache manager with which this task should be executed
G
- getAllowedRole() - Method in interface org.infinispan.tasks.Task
-
An optional role, for which the task is accessible.
- getCache() - Method in class org.infinispan.tasks.TaskContext
-
The default cache.
- getCacheManager() - Method in class org.infinispan.tasks.TaskContext
-
CacheManager for this task execution
- getExecutionMode() - Method in interface org.infinispan.tasks.Task
-
Whether the task execution should be local - on one node or distributed - on all nodes.
- getInstantiationMode() - Method in interface org.infinispan.tasks.Task
-
Whether tasks should reuse a single instance or create a new instance per execution.
- getMarshaller() - Method in class org.infinispan.tasks.TaskContext
-
Marshaller for this task execution
- getName() - Method in interface org.infinispan.tasks.Task
-
Provides a name for the task.
- getParameters() - Method in interface org.infinispan.tasks.Task
-
The named parameters accepted by this task
- getParameters() - Method in class org.infinispan.tasks.TaskContext
-
Gets a map of named parameters for the task
- getSubject() - Method in class org.infinispan.tasks.TaskContext
-
The optional
Subjectwhich is executing this task - getType() - Method in interface org.infinispan.tasks.ServerTask
- getType() - Method in interface org.infinispan.tasks.Task
-
Returns the type of task.
I
- isLogEvent() - Method in class org.infinispan.tasks.TaskContext
-
Whether executing this task will generate an event in the event log
- ISOLATED - Enum constant in enum class org.infinispan.tasks.TaskInstantiationMode
-
Creates a new instance for every invocation
L
- logEvent(boolean) - Method in class org.infinispan.tasks.TaskContext
-
Whether execution will generate an event in the event log
M
- marshaller(Marshaller) - Method in class org.infinispan.tasks.TaskContext
-
The marshaller with which this task should be executed
O
- ONE_NODE - Enum constant in enum class org.infinispan.tasks.TaskExecutionMode
- org.infinispan.tasks - package org.infinispan.tasks
-
Server tasks API.
P
- parameters(Map<String, ?>) - Method in class org.infinispan.tasks.TaskContext
-
A map of named parameters that will be passed to the task.
S
- ServerTask<V> - Interface in org.infinispan.tasks
-
An interface representing a deployed server task.
- setTaskContext(TaskContext) - Method in interface org.infinispan.tasks.ServerTask
-
Sets the task context Store the value in your task implementation to be able to access caches and other resources in the task Note that, if
Task.getInstantiationMode()isTaskInstantiationMode.SHAREDthere will be single instance of each ServerTask on each server so, if you expect concurrent invocations of a task, theTaskContextshould be stored in aThreadLocalstatic field in your task. - SHARED - Enum constant in enum class org.infinispan.tasks.TaskInstantiationMode
-
Creates a single instance that is reused for every task execution
- subject() - Method in class org.infinispan.tasks.TaskContext
- subject(Subject) - Method in class org.infinispan.tasks.TaskContext
-
The subject to impersonate when running this task.
T
- Task - Interface in org.infinispan.tasks
- TaskContext - Class in org.infinispan.tasks
-
TaskContext.
- TaskContext() - Constructor for class org.infinispan.tasks.TaskContext
- TaskContext(TaskContext) - Constructor for class org.infinispan.tasks.TaskContext
- TaskExecutionMode - Enum Class in org.infinispan.tasks
- TaskInstantiationMode - Enum Class in org.infinispan.tasks
- toJson() - Method in interface org.infinispan.tasks.Task
- toString() - Method in class org.infinispan.tasks.TaskContext
V
- valueOf(String) - Static method in enum class org.infinispan.tasks.TaskExecutionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.infinispan.tasks.TaskInstantiationMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.infinispan.tasks.TaskExecutionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.infinispan.tasks.TaskInstantiationMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages