Class CacheAssignAliasTask
java.lang.Object
org.infinispan.server.core.admin.AdminServerTask<Void>
org.infinispan.server.core.admin.embeddedserver.CacheAssignAliasTask
- All Implemented Interfaces:
JsonSerialization,Task
Admin operation to (re)-assign an alias to a cache
Parameters:
- name the name of the cache to which the alias should be assigned
- alias the name of the alias
- flags unused
- Since:
- 15.1
- Author:
- Tristan Tarrant
-
Field Summary
Fields inherited from class org.infinispan.server.core.admin.AdminServerTask
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Voidexecute(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, requireParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.tasks.Task
getAllowedRole, getExecutionMode, getInstantiationMode, toJson
-
Constructor Details
-
CacheAssignAliasTask
public CacheAssignAliasTask()
-
-
Method Details
-
getTaskContextName
- Specified by:
getTaskContextNamein classAdminServerTask<Void>
-
getTaskOperationName
- Specified by:
getTaskOperationNamein classAdminServerTask<Void>
-
getParameters
-
execute
protected Void execute(EmbeddedCacheManager cacheManager, Map<String, List<String>> parameters, EnumSet<CacheContainerAdmin.AdminFlag> adminFlags) - Specified by:
executein classAdminServerTask<Void>
-