Class TemplateNamesTask
java.lang.Object
org.infinispan.server.core.admin.AdminServerTask<byte[]>
org.infinispan.server.core.admin.embeddedserver.TemplateNamesTask
- All Implemented Interfaces:
JsonSerialization
,Task
Admin operation to obtain a list of caches
- Since:
- 9.2
- Author:
- Tristan Tarrant
-
Field Summary
Fields inherited from class org.infinispan.server.core.admin.AdminServerTask
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
execute
(EmbeddedCacheManager cacheManager, Map<String, List<String>> parameters, EnumSet<CacheContainerAdmin.AdminFlag> adminFlags) The named parameters accepted by this taskMethods 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
-
Constructor Details
-
TemplateNamesTask
public TemplateNamesTask()
-
-
Method Details
-
getTaskContextName
- Specified by:
getTaskContextName
in classAdminServerTask<byte[]>
-
getTaskOperationName
- Specified by:
getTaskOperationName
in classAdminServerTask<byte[]>
-
getParameters
Description copied from interface:Task
The named parameters accepted by this task- Returns:
- a java.util.Set of parameter names
-
execute
protected byte[] execute(EmbeddedCacheManager cacheManager, Map<String, List<String>> parameters, EnumSet<CacheContainerAdmin.AdminFlag> adminFlags) - Specified by:
execute
in classAdminServerTask<byte[]>
-