public interface RemoteCacheManagerAdmin
| Modifier and Type | Method and Description |
|---|---|
void |
createCache(String name,
String template)
Creates a cache on the remote server cluster using the specified template.
|
void |
createCache(String name,
String template,
EnumSet<AdminFlag> flags)
Creates a cache on the remote server cluster using the specified template and flags.
|
void |
reindexCache(String name)
Performs a mass reindexing of the specified cache.
|
void |
removeCache(String name)
Removes a cache from the remote server cluster.
|
void createCache(String name, String template) throws HotRodClientException
name - the name of the cache to createtemplate - the template to use for the cache. If null, the configuration marked as default on the server
will be usedHotRodClientExceptionvoid createCache(String name, String template, EnumSet<AdminFlag> flags) throws HotRodClientException
name - the name of the cache to createtemplate - the template to use for the cache. If null, the configuration marked as default on the server
will be usedflags - an EnumSet of flags to use when creating the cache. See AdminFlagHotRodClientExceptionvoid removeCache(String name) throws HotRodClientException
name - the name of the cache to removeHotRodClientExceptionvoid reindexCache(String name) throws HotRodClientException
name - the name of the cache to reindexHotRodClientExceptionCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.