public class ServerManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerManager.ManagementClientException |
static class |
ServerManager.NotAvailableException |
Constructor and Description |
---|
ServerManager(String host) |
ServerManager(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
addCache(String cacheName) |
boolean |
containsCache(String cacheName) |
Set<String> |
getCacheNames() |
void |
removeCache(String cacheName) |
public ServerManager(String host)
public ServerManager(String host, int port)
public Set<String> getCacheNames() throws ServerManager.NotAvailableException, ServerManager.ManagementClientException
public boolean containsCache(String cacheName) throws ServerManager.NotAvailableException, ServerManager.ManagementClientException
public void addCache(String cacheName) throws ServerManager.NotAvailableException, ServerManager.ManagementClientException
public void removeCache(String cacheName) throws ServerManager.NotAvailableException, ServerManager.ManagementClientException
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.