org.infinispan.cli.connection
Interface Connection
- All Superinterfaces:
- Closeable
- All Known Implementing Classes:
- JMXConnection
public interface Connection
- extends Closeable
connect
void connect(Context context,
String credentials)
throws Exception
- Throws:
Exception
needsCredentials
boolean needsCredentials()
execute
void execute(Context context,
CommandBuffer commandBuffer)
getActiveCache
String getActiveCache()
getActiveContainer
String getActiveContainer()
getAvailableCaches
Collection<String> getAvailableCaches()
getAvailableContainers
Collection<String> getAvailableContainers()
isConnected
boolean isConnected()
setActiveContainer
void setActiveContainer(String name)
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.