org.infinispan.client.rest.RestServerClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-client-rest-jakarta Show documentation
Show all versions of infinispan-client-rest-jakarta Show documentation
Infinispan REST Client Jakarta
package org.infinispan.client.rest;
import java.util.List;
import java.util.concurrent.CompletionStage;
/**
* @author Tristan Tarrant <[email protected]>
* @since 10.0
**/
public interface RestServerClient {
CompletionStage configuration();
/**
* Shuts down the server we're connected to
*/
CompletionStage stop();
/**
* Provides the overview report for the server
*/
CompletionStage overviewReport();
/**
* Returns thread information
*/
CompletionStage threads();
/**
* Returns information about the server
*/
CompletionStage info();
/**
* Returns memory information about the server
*/
CompletionStage memory();
/**
* Performs a heap dump
*/
CompletionStage heapDump(boolean live);
/**
* Returns the server environment
*/
CompletionStage env();
/**
* Returns a report from the server
*/
CompletionStage report();
CompletionStage ignoreCache(String cacheManagerName, String cacheName);
CompletionStage unIgnoreCache(String cacheManagerName, String cacheName);
CompletionStage listIgnoredCaches(String cacheManagerName);
RestLoggingClient logging();
CompletionStage connectorNames();
CompletionStage connector(String name);
CompletionStage connectorStart(String name);
CompletionStage connectorStop(String name);
CompletionStage connectorIpFilters(String name);
CompletionStage connectorIpFiltersClear(String name);
CompletionStage connectorIpFilterSet(String name, List rules);
CompletionStage dataSourceNames();
CompletionStage dataSourceTest(String name);
}