Uses of Interface
org.infinispan.client.rest.RestResponse
Packages that use RestResponse
-
Uses of RestResponse in org.infinispan.client.rest
Methods in org.infinispan.client.rest that return types with arguments of type RestResponseModifier and TypeMethodDescriptionRestCounterClient.add(long delta) RestCacheClient.backupStatus(String site) RestCacheManagerClient.backupStatus(String site) RestCacheManagerClient.backupStatuses()RestCacheManagerClient.bringBackupOnline(String backup) RestCacheClient.bringSiteOnline(String site) Bring back a backup site onlineRestCacheManagerClient.cacheConfigurations()RestCacheManagerClient.cacheConfigurations(String mediaType) RestClient.cacheManagers()Returns a list of available cache manager namesRestCacheManagerClient.caches()RestClient.caches()Returns a list of available cachesRestCacheClient.cancelPushState(String site) Cancels the state pushRestCacheManagerClient.cancelPushState(String backup) RestCacheClient.cancelReceiveState(String site) Cancel the receiving state on a backup siteRestCacheClient.clear()Clears a cacheRestCacheClient.clearIndex()Deletes all the indexes from the cache.RestCacheClient.clearPushStateStatus()Clear the status of a state push in a siteRestCacheClient.clearQueryStats()Deprecated, for removal: This API element is subject to removal in a future version.RestCacheClient.clearSearchStats()Clear search stats.RestCounterClient.compareAndSet(long expect, long value) RestCounterClient.compareAndSwap(long expect, long value) default CompletionStage<RestResponse> RestCacheClient.configuration()Retrieves the cache configurationRestCacheClient.configuration(String mediaType) Retrieves the cache configuration with a specific MediaType or list of MediaTypes.RestCounterClient.configuration()RestCounterClient.configuration(String mediaType) RestServerClient.configuration()RestCacheClient.configurationAttributes()Retrieves all available configuration attributes for this cacheRestCacheClient.configurationAttributes(boolean full) Retrieves all available configuration attributes for this cache optionally including values and typesRestServerClient.connectorIpFilters(String name) RestServerClient.connectorIpFiltersClear(String name) RestServerClient.connectorIpFilterSet(String name, List<IpFilterRule> rules) RestServerClient.connectorNames()RestServerClient.connectorStart(String name) RestServerClient.connectorStop(String name) RestCacheClient.connectSource(RestEntity remoteStoreJsonConfig) Connects the target cluster to a source cluster before a Rolling UpgradeRestClient.counters()Returns a list of available countersRestCounterClient.create(RestEntity configuration) default CompletionStage<RestResponse> RestCacheManagerClient.createBackup(String name) Creates a backup file containing all resources in this container.RestCacheManagerClient.createBackup(String name, String workingDir, Map<String, List<String>> resources) Creates a backup file containing only the resources specified in the providedMap.default CompletionStage<RestResponse> Creates a backup file containing only the resources specified in the providedMap.RestClusterClient.createBackup(String name) Creates a backup file containing the content of all containers in the cluster.RestSecurityClient.createRole(String name, List<String> permissions) RestCacheClient.createWithConfiguration(RestEntity configuration, org.infinispan.commons.api.CacheContainerAdmin.AdminFlag... flags) Creates the cache using the supplied configurationRestCacheClient.createWithTemplate(String template, org.infinispan.commons.api.CacheContainerAdmin.AdminFlag... flags) Creates the cache using the supplied template nameRestServerClient.dataSourceNames()RestServerClient.dataSourceTest(String name) RestCounterClient.decrement()RestCacheClient.delete()Removes the cacheRestCounterClient.delete()default CompletionStage<RestResponse> DELETE a schema by name.RestCacheManagerClient.deleteBackup(String name) Deletes a backup file from the server.RestClusterClient.deleteBackup(String name) Deletes a backup file from the server.RestCacheManagerClient.deleteRestore(String name) Deletes a restore request from the server.RestClusterClient.deleteRestore(String name) Deletes a restore request from the server.RestCacheClient.details()Obtains details about the cacheRestCacheClient.disableRebalancing()Disables automatic rebalancing for the cache.RestCacheManagerClient.disableRebalancing()Globally disables automatic rebalancing.RestCacheClient.disconnectSource()Disconnects the target cluster from the source cluster after a Rolling UpgradeRestCacheClient.distribution()Obtain metrics about the distribution of data of the cache.RestClusterClient.distribution()RestTaskClient.downloadScript(String taskName) Downloads a scriptRestCacheClient.enableRebalancing()Enables automatic rebalancing for the cache.RestCacheManagerClient.enableRebalancing()Globally enables automatic rebalancing.default CompletionStage<RestResponse> RestCacheClient.entries()Retrieves entries without metadataRestCacheClient.entries(boolean contentNegotiation) Retrieves entries without metadataRestCacheClient.entries(int limit) Retrieves entries limited by countRestCacheClient.entries(int limit, boolean metadata) Retrieves entries with limit and metadataRestServerClient.env()Returns the server environmentdefault CompletionStage<RestResponse> Executes a task without parametersExecutes a task with the supplied parameters.default CompletionStage<RestResponse> RestCacheClient.exists()Check if the cache existsRestSecurityClient.flushCache()GETs a key from the cacheGETs a key from the cache with a specific MediaType or list of MediaTypes.Same asRestCacheClient.get(String, String)but with an option to return extended headers.Same asRestCacheClient.get(String)but allowing custom headers.RestCounterClient.get()default CompletionStage<RestResponse> GET a schema by name.RestCacheClient.getAvailability()Retrieves the Cache's Availability status.Retrieves a backup file with the given name from the server.Retrieves a backup file with the given name from the server.RestCacheManagerClient.getBackupNames()RestClusterClient.getBackupNames()RestCacheManagerClient.getRestore(String name) Polls a restore request progress with the given name.RestClusterClient.getRestore(String name) Polls a restore request progress with the given name.RestCacheManagerClient.getRestoreNames()RestClusterClient.getRestoreNames()RestCacheClient.getXSiteTakeOfflineConfig(String site) Get the configuration used to automatically take a backup site offlinedefault CompletionStage<RestResponse> RestCacheManagerClient.globalConfiguration()RestCacheManagerClient.globalConfiguration(String mediaType) Similar toRestCacheClient.get(String)but only retrieves headersSimilar toRestCacheClient.head(String)but allowing custom headersdefault CompletionStage<RestResponse> RestCacheManagerClient.health()RestCacheManagerClient.health(boolean skipBody) RestCacheManagerClient.healthStatus()RestServerClient.heapDump(boolean live) Performs a heap dumpRestServerClient.ignoreCache(String cacheManagerName, String cacheName) RestCounterClient.increment()RestCacheClient.indexMetamodel()Obtains the index metamodel for the current cache.RestCacheClient.indexStats()Deprecated, for removal: This API element is subject to removal in a future version.UseRestCacheClient.searchStats()instead.RestCacheManagerClient.info()RestServerClient.info()Returns information about the serverRestCacheClient.keys()Retrieve all keysRestCacheClient.keys(int limit) Retrieve keys limited by countRetrieves all keys from the cache with a specific MediaType or list of MediaTypes.RestTaskClient.list(RestTaskClient.ResultType resultType) Retrieves a list of tasks from the serverRestLoggingClient.listAppenders()RestServerClient.listIgnoredCaches(String cacheManagerName) RestLoggingClient.listLoggers()RestCacheClient.markTopologyStable(boolean force) Force the current cache topology as the stable if not running.RestServerClient.memory()Returns memory information about the serverRestMetricsClient.metrics()RestMetricsClient.metrics(boolean openMetricsFormat) RestMetricsClient.metricsMetadata()RestSchemaClient.names()Obtains the names of the registered schemas.RestServerClient.overviewReport()Provides the overview report for the serverPOSTs a key/value to the cache as text/plainPOSTs a key/value to the cache as text/plain with the specified expirationRestCacheClient.post(String key, RestEntity value) POSTs a key/value to the cache with the specified encodingRestCacheClient.post(String key, RestEntity value, long ttl, long maxIdle) POSTs a key/value to the cache with the specified encoding and expirationdefault CompletionStage<RestResponse> POST a schema with the supplied name and contents.RestSchemaClient.post(String schemaName, RestEntity schemaContents) POST a schema with the supplied name and contents.RestRawClient.postForm(String path, Map<String, String> headers, Map<String, List<String>> formParameters) RestRawClient.postMultipartForm(String url, Map<String, String> headers, Map<String, List<String>> formParameters) RestCacheClient.pushSiteState(String site) Starts the state push to a backup siteRestCacheManagerClient.pushSiteState(String backup) RestCacheClient.pushStateStatus()Obtain the status of a state push to a backup sitePUTs a key/value to the cache as text/plainPUTs a key/value to the cache as text/plain with the specified expirationRestCacheClient.put(String key, String keyContentType, RestEntity value) PUT a key/value to the cache with custom media types for keys and valuesRestCacheClient.put(String key, String keyContentType, RestEntity value, long ttl, long maxIdle) PUT an entry with metadata.RestCacheClient.put(String key, String keyContentType, RestEntity value, Map<String, String> headers) Same asRestCacheClient.put(String, String, RestEntity)but allowing custom headers.RestCacheClient.put(String key, RestEntity value) PUTs a key/value to the cache with the specified encodingRestCacheClient.put(String key, RestEntity value, long ttl, long maxIdle) PUTs a key/value to the cache with the specified encoding and expirationRestCacheClient.put(String key, RestEntity value, String... flags) Same asRestCacheClient.put(String, RestEntity)also allowing one or moreto be passed.invalid reference
org.infinispan.context.Flagdefault CompletionStage<RestResponse> PUT a schema with the supplied name and contents.RestSchemaClient.put(String schemaName, RestEntity schemaContents) PUT a schema with the supplied name and contents.default CompletionStage<RestResponse> Executes an Ickle-queryExecutes an Ickle-queryExecutes an Ickle-queryExecutes an Ickle-queryRestCacheClient.queryStats()Deprecated, for removal: This API element is subject to removal in a future version.UseRestCacheClient.searchStats()instead.RestCacheClient.reindex()Rebuild the search indexes of the cache based on its data.RestCacheClient.reindexLocal()Same asRestCacheClient.reindex()but only considers data from the local cluster member.DELETEs an entry from the cacheSame asRestCacheClient.remove(String)but allowing custom headersRestLoggingClient.removeLogger(String name) RestSecurityClient.removeRole(String name) RestServerClient.report()Returns a report from the serverRestCounterClient.reset()default CompletionStage<RestResponse> Restores all content associated with this containers name contained within the provided backup file.Restores the specified content from the backup file that's associated with this container's name.RestCacheManagerClient.restore(String name, String backupLocation, Map<String, List<String>> resources) Restores the specified content from the backup file that's associated with this container's name.Restores all content from a backup file, by uploading the file to the server endpoint for processing, returning once the restoration has completed.Restores all content from a backup file available to the server instance.RestCacheClient.searchStats()Obtain query and indexing statistics for the cache.RestCacheClient.setAvailability(String availability) Sets the Cache's AvaialabilityRestContainerClient.shutdown()Shuts down the container stopping all caches and resources.RestCacheClient.size()Obtains the total number of elements in the cacheRestCacheClient.sourceConnected()Checks if the cache is connected through a remote store to perform rolling upgradesRestCacheClient.sourceConnection()Return the remote store configuration in case the case has been connected to another cluster usingRestCacheClient.connectSource(RestEntity)RestCacheClient.stats()Obtains statistics for the cacheRestCacheManagerClient.stats()RestClusterClient.stop()Shuts down the clusterShuts down the specified serversRestServerClient.stop()Shuts down the server we're connected toRestCacheClient.synchronizeData()Execute a Rolling Upgrade processing using defaults.RestCacheClient.synchronizeData(Integer readBatch, Integer threads) Execute a Rolling Upgrade processingRestCacheManagerClient.takeOffline(String backup) RestCacheClient.takeSiteOffline(String site) Take a backup site offlineRestServerClient.threads()Returns thread informationRestSchemaClient.types()Obtains the names of the types.RestServerClient.unIgnoreCache(String cacheManagerName, String cacheName) RestCacheClient.updateConfigurationAttribute(String attribute, String value) Updates a configuration attribute.RestCacheClient.updateIndexSchema()Update index schema for the current cache.RestCacheClient.updateWithConfiguration(RestEntity configuration, org.infinispan.commons.api.CacheContainerAdmin.AdminFlag... flags) Updates the cache configurationRestCacheClient.updateXSiteTakeOfflineConfig(String site, int afterFailures, long minTimeToWait) Updates the configuration used to automatically take a backup site offlineRestTaskClient.uploadScript(String taskName, RestEntity script) Uploads a scriptRestCacheClient.xsiteBackups()RestCacheClient.xSiteStateTransferMode(String site) Returns the cross-site replication state transfer mode.RestCacheClient.xSiteStateTransferMode(String site, org.infinispan.configuration.cache.XSiteStateTransferMode mode) Sets the cross-site replication state transfer mode.Methods in org.infinispan.client.rest with parameters of type RestResponseModifier and TypeMethodDescriptiondefault voidRestEventListener.onError(Throwable t, RestResponse response) default voidRestEventListener.onOpen(RestResponse response) -
Uses of RestResponse in org.infinispan.client.rest.impl.okhttp
Classes in org.infinispan.client.rest.impl.okhttp that implement RestResponseMethods in org.infinispan.client.rest.impl.okhttp that return types with arguments of type RestResponseModifier and TypeMethodDescriptionRestCounterClientOkHttp.add(long delta) RestCacheClientOkHttp.backupStatus(String site) RestCacheManagerClientOkHttp.backupStatus(String site) RestCacheManagerClientOkHttp.backupStatuses()RestCacheManagerClientOkHttp.bringBackupOnline(String backup) RestCacheClientOkHttp.bringSiteOnline(String site) RestCacheManagerClientOkHttp.cacheConfigurations()RestCacheManagerClientOkHttp.cacheConfigurations(String mediaType) RestClientOkHttp.cacheManagers()RestCacheManagerClientOkHttp.caches()RestClientOkHttp.caches()RestCacheClientOkHttp.cancelPushState(String site) RestCacheManagerClientOkHttp.cancelPushState(String backup) RestCacheClientOkHttp.cancelReceiveState(String site) RestCacheClientOkHttp.clear()RestCacheClientOkHttp.clearIndex()RestCacheClientOkHttp.clearPushStateStatus()RestCacheClientOkHttp.clearQueryStats()RestCacheClientOkHttp.clearSearchStats()RestCounterClientOkHttp.compareAndSet(long expect, long value) RestCounterClientOkHttp.compareAndSwap(long expect, long value) RestCacheClientOkHttp.configuration(String mediaType) RestCounterClientOkHttp.configuration()RestCounterClientOkHttp.configuration(String mediaType) RestServerClientOkHttp.configuration()RestCacheClientOkHttp.configurationAttributes()RestCacheClientOkHttp.configurationAttributes(boolean full) RestServerClientOkHttp.connectorIpFilters(String name) RestServerClientOkHttp.connectorIpFiltersClear(String name) RestServerClientOkHttp.connectorIpFilterSet(String name, List<IpFilterRule> rules) RestServerClientOkHttp.connectorNames()RestServerClientOkHttp.connectorStart(String name) RestServerClientOkHttp.connectorStop(String name) RestCacheClientOkHttp.connectSource(RestEntity value) RestClientOkHttp.counters()RestCounterClientOkHttp.create(RestEntity configuration) RestCacheManagerClientOkHttp.createBackup(String name, String workingDir, Map<String, List<String>> resources) RestClusterClientOkHttp.createBackup(String name) RestSecurityClientOkHttp.createRole(String name, List<String> permissions) RestCacheClientOkHttp.createWithConfiguration(RestEntity configuration, org.infinispan.commons.api.CacheContainerAdmin.AdminFlag... flags) RestCacheClientOkHttp.createWithTemplate(String template, org.infinispan.commons.api.CacheContainerAdmin.AdminFlag... flags) RestServerClientOkHttp.dataSourceNames()RestServerClientOkHttp.dataSourceTest(String name) RestCounterClientOkHttp.decrement()RestCacheClientOkHttp.delete()RestCounterClientOkHttp.delete()RestCacheManagerClientOkHttp.deleteBackup(String name) RestClusterClientOkHttp.deleteBackup(String name) RestCacheManagerClientOkHttp.deleteRestore(String name) RestClusterClientOkHttp.deleteRestore(String name) RestCacheClientOkHttp.details()RestCacheClientOkHttp.disableRebalancing()RestCacheManagerClientOkHttp.disableRebalancing()RestCacheClientOkHttp.disconnectSource()RestCacheClientOkHttp.distribution()RestClusterClientOkHttp.distribution()RestTaskClientOkHttp.downloadScript(String taskName) RestCacheClientOkHttp.enableRebalancing()RestCacheManagerClientOkHttp.enableRebalancing()RestCacheClientOkHttp.entries()RestCacheClientOkHttp.entries(boolean contentNegotiation) RestCacheClientOkHttp.entries(int limit) RestCacheClientOkHttp.entries(int limit, boolean metadata) RestServerClientOkHttp.env()RestCacheClientOkHttp.exists()RestSecurityClientOkHttp.flushCache()RestCounterClientOkHttp.get()RestCacheClientOkHttp.getAvailability()RestCacheManagerClientOkHttp.getBackupNames()RestClusterClientOkHttp.getBackupNames()RestCacheManagerClientOkHttp.getRestore(String name) RestClusterClientOkHttp.getRestore(String name) RestCacheManagerClientOkHttp.getRestoreNames()RestClusterClientOkHttp.getRestoreNames()RestCacheClientOkHttp.getXSiteTakeOfflineConfig(String site) RestCacheManagerClientOkHttp.globalConfiguration(String mediaType) RestCacheManagerClientOkHttp.health()RestCacheManagerClientOkHttp.health(boolean skipBody) RestCacheManagerClientOkHttp.healthStatus()RestServerClientOkHttp.heapDump(boolean live) RestServerClientOkHttp.ignoreCache(String cacheManagerName, String cacheName) RestCounterClientOkHttp.increment()RestCacheClientOkHttp.indexMetamodel()RestCacheClientOkHttp.indexStats()RestCacheManagerClientOkHttp.info()RestServerClientOkHttp.info()RestCacheClientOkHttp.keys()RestCacheClientOkHttp.keys(int limit) RestTaskClientOkHttp.list(RestTaskClient.ResultType resultType) RestLoggingClientOkHttp.listAppenders()RestServerClientOkHttp.listIgnoredCaches(String cacheManagerName) RestLoggingClientOkHttp.listLoggers()RestCacheClientOkHttp.markTopologyStable(boolean force) RestServerClientOkHttp.memory()RestMetricsClientOkHttp.metrics()RestMetricsClientOkHttp.metrics(boolean openMetricsFormat) RestMetricsClientOkHttp.metricsMetadata()RestSchemasClientOkHttp.names()RestServerClientOkHttp.overviewReport()RestCacheClientOkHttp.post(String key, RestEntity value) RestCacheClientOkHttp.post(String key, RestEntity value, long ttl, long maxIdle) RestSchemasClientOkHttp.post(String schemaName, RestEntity schemaContents) RestRawClientOkHttp.postForm(String url, Map<String, String> headers, Map<String, List<String>> formParameters) RestRawClientOkHttp.postMultipartForm(String url, Map<String, String> headers, Map<String, List<String>> formParameters) RestCacheClientOkHttp.pushSiteState(String site) RestCacheManagerClientOkHttp.pushSiteState(String backup) RestCacheClientOkHttp.pushStateStatus()RestCacheClientOkHttp.put(String key, String keyContentType, RestEntity value) RestCacheClientOkHttp.put(String key, String keyContentType, RestEntity value, long ttl, long maxIdle) RestCacheClientOkHttp.put(String key, String keyContentType, RestEntity value, Map<String, String> headers) RestCacheClientOkHttp.put(String key, RestEntity value) RestCacheClientOkHttp.put(String key, RestEntity value, long ttl, long maxIdle) RestCacheClientOkHttp.put(String key, RestEntity value, String... flags) RestSchemasClientOkHttp.put(String schemaName, RestEntity schemaContents) RestRawClientOkHttp.putValue(String url, Map<String, String> headers, String body, String bodyMediaType) RestCacheClientOkHttp.queryStats()RestCacheClientOkHttp.reindex()RestCacheClientOkHttp.reindexLocal()RestLoggingClientOkHttp.removeLogger(String name) RestSecurityClientOkHttp.removeRole(String name) RestServerClientOkHttp.report()RestCounterClientOkHttp.reset()RestCacheManagerClientOkHttp.restore(String name, String backupLocation, Map<String, List<String>> resources) RestCacheClientOkHttp.searchStats()RestCacheClientOkHttp.setAvailability(String availability) RestContainerClientOkHttp.shutdown()RestCacheClientOkHttp.size()RestCacheClientOkHttp.sourceConnected()RestCacheClientOkHttp.sourceConnection()RestCacheClientOkHttp.stats()RestCacheManagerClientOkHttp.stats()RestClusterClientOkHttp.stop()RestServerClientOkHttp.stop()RestCacheClientOkHttp.synchronizeData()RestCacheClientOkHttp.synchronizeData(Integer readBatch, Integer threads) RestCacheManagerClientOkHttp.takeOffline(String backup) RestCacheClientOkHttp.takeSiteOffline(String site) RestServerClientOkHttp.threads()RestSchemasClientOkHttp.types()RestServerClientOkHttp.unIgnoreCache(String cacheManagerName, String cacheName) RestCacheClientOkHttp.updateConfigurationAttribute(String attribute, String value) RestCacheClientOkHttp.updateIndexSchema()RestCacheClientOkHttp.updateWithConfiguration(RestEntity configuration, org.infinispan.commons.api.CacheContainerAdmin.AdminFlag... flags) RestCacheClientOkHttp.updateXSiteTakeOfflineConfig(String site, int afterFailures, long minTimeToWait) RestTaskClientOkHttp.uploadScript(String taskName, RestEntity script) RestCacheClientOkHttp.xsiteBackups()RestCacheClientOkHttp.xSiteStateTransferMode(String site) RestCacheClientOkHttp.xSiteStateTransferMode(String site, org.infinispan.configuration.cache.XSiteStateTransferMode mode)
RestCacheClient.searchStats()andRestCacheClient.clearSearchStats().