Class: module:ResetReloadClient

module:ResetReloadClient(url, auth)

new module:ResetReloadClient(url, auth)

Creates a GeoServer REST ResetReloadClient instance.
Parameters:
Name Type Description
url String The URL of the GeoServer REST API endpoint
auth String The Basic Authentication string
Source:

Methods

(async) reload()

Reloads the GeoServer catalog and configuration from disk. This operation is used in cases where an external tool has modified the on-disk configuration. This operation will also force GeoServer to drop any internal caches and reconnect to all data stores.
Source:
Throws:
Error if request fails

(async) reset()

Resets all store, raster, and schema caches. This operation is used to force GeoServer to drop all caches and store connections and reconnect to each of them the next time they are needed by a request. This is useful in case the stores themselves cache some information about the data structures they manage that may have changed in the meantime.
Source:
Throws:
Error if request fails