public class JMXConnection extends Object implements Connection
| Constructor and Description |
|---|
JMXConnection(JMXUrl serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(String credentials) |
void |
execute(Context context,
CommandBuffer commandBuffer) |
String |
getActiveCache() |
String |
getActiveContainer() |
Collection<String> |
getAvailableCaches() |
Collection<String> |
getAvailableContainers() |
boolean |
isConnected() |
boolean |
needsCredentials() |
void |
setActiveContainer(String name) |
String |
toString() |
static String |
unquote(String s) |
public JMXConnection(JMXUrl serviceUrl)
public boolean needsCredentials()
needsCredentials in interface Connectionpublic void connect(String credentials) throws Exception
connect in interface ConnectionExceptionpublic boolean isConnected()
isConnected in interface Connectionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String getActiveCache()
getActiveCache in interface Connectionpublic Collection<String> getAvailableContainers()
getAvailableContainers in interface Connectionpublic String getActiveContainer()
getActiveContainer in interface Connectionpublic void setActiveContainer(String name)
setActiveContainer in interface Connectionpublic Collection<String> getAvailableCaches()
getAvailableCaches in interface Connectionpublic void execute(Context context, CommandBuffer commandBuffer)
execute in interface ConnectionCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.