All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.cli.connection.Connection Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.cli.connection;

import java.io.Closeable;
import java.util.Collection;

import org.infinispan.cli.CommandBuffer;
import org.infinispan.cli.Context;

public interface Connection extends Closeable {

   void connect(String credentials) throws Exception;

   boolean needsCredentials();

   void execute(Context context, CommandBuffer commandBuffer);

   String getActiveCache();

   String getActiveContainer();

   Collection getAvailableCaches();

   Collection getAvailableContainers();

   boolean isConnected();

   void setActiveContainer(String name);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy