Class CacheUpdateIndexSchemaTask
- java.lang.Object
-
- org.infinispan.server.core.admin.AdminServerTask<Void>
-
- org.infinispan.server.core.admin.embeddedserver.CacheUpdateIndexSchemaTask
-
- All Implemented Interfaces:
JsonSerialization
,Task
public class CacheUpdateIndexSchemaTask extends AdminServerTask<Void>
Administrative operation to update the index schema for a cache with the following parameters: Parameters:- name specifies the cache for which its index schema will be updated.
- flags unused
- Since:
- 14.0
- Author:
- Fabio Massimo Ercoli
-
-
Field Summary
-
Fields inherited from class org.infinispan.server.core.admin.AdminServerTask
log
-
-
Constructor Summary
Constructors Constructor Description CacheUpdateIndexSchemaTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Void
execute(EmbeddedCacheManager cacheManager, Map<String,List<String>> parameters, EnumSet<CacheContainerAdmin.AdminFlag> adminFlags)
Set<String>
getParameters()
The named parameters accepted by this taskString
getTaskContextName()
String
getTaskOperationName()
-
Methods inherited from class org.infinispan.server.core.admin.AdminServerTask
execute, getName, getParameter, getType, requireParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.tasks.Task
getAllowedRole, getExecutionMode, getInstantiationMode, toJson
-
-
-
-
Method Detail
-
getTaskContextName
public String getTaskContextName()
- Specified by:
getTaskContextName
in classAdminServerTask<Void>
-
getTaskOperationName
public String getTaskOperationName()
- Specified by:
getTaskOperationName
in classAdminServerTask<Void>
-
getParameters
public Set<String> getParameters()
Description copied from interface:Task
The named parameters accepted by this task- Returns:
- a java.util.Set of parameter names
-
execute
protected Void execute(EmbeddedCacheManager cacheManager, Map<String,List<String>> parameters, EnumSet<CacheContainerAdmin.AdminFlag> adminFlags)
- Specified by:
execute
in classAdminServerTask<Void>
-
-