Interface ServerConfiguration

    • Method Detail

      • isTileCachingEnabled

        boolean isTileCachingEnabled()
        Returns whether server side tile caching is enabled or not.
        Returns:
        true if the server side tile caching is enabled, false if not
      • setTileCachingEnabled

        void setTileCachingEnabled​(boolean tileCachingEnabled)
        This enables the server side caching of tiles, so that they do not need to be rendered every time. It is highly recommended to enable it.
        Parameters:
        tileCachingEnabled - True if tile caching should be enabled, false if not
      • getGeneralPoolCoreSize

        int getGeneralPoolCoreSize()
        Returns the core pool size for general tasks which is the minimum number of workers to keep alive (and not allow to time out etc).
      • setGeneralPoolCoreSize

        void setGeneralPoolCoreSize​(int generalPoolCoreSize)
        Sets the core pool size for general tasks which is the minimum number of workers to keep alive (and not allow to time out etc). Must not be less than 0
        Parameters:
        generalPoolCoreSize -
      • getGeneralPoolMaxSize

        int getGeneralPoolMaxSize()
        Returns the maximum pool size for general tasks.
      • setGeneralPoolMaxSize

        void setGeneralPoolMaxSize​(int generalPoolMaxSize)
        Sets the maximum pool size for general tasks. Must be greater than 0
        Parameters:
        generalPoolMaxSize -
      • getTileRendererPoolCoreSize

        int getTileRendererPoolCoreSize()
        Returns the core pool size for tile rendering which is the minimum number of workers to keep alive (and not allow to time out etc).
      • setTileRendererPoolCoreSize

        void setTileRendererPoolCoreSize​(int tileRendererPoolCoreSize)
        Sets the core pool size for tile rendering which is the minimum number of workers to keep alive (and not allow to time out etc). Must not be less than 0
        Parameters:
        tileRendererPoolCoreSize -
      • getTileRendererPoolMaxSize

        int getTileRendererPoolMaxSize()
        Returns the maximum pool size for tile rendering.
      • setTileRendererPoolMaxSize

        void setTileRendererPoolMaxSize​(int tileRendererPoolMaxSize)
        Sets the maximum pool size for tile rendering. Must be greater than 0
        Parameters:
        tileRendererPoolMaxSize -
      • getTileRendererMaxParallelRenderingPerClient

        int getTileRendererMaxParallelRenderingPerClient()
        Returns the amount of how many rendering-threads a single client can utilize
        Returns:
        tileRendererMaxParallelRenderingPerClient
      • setTileRendererMaxParallelRenderingPerClient

        void setTileRendererMaxParallelRenderingPerClient​(int tileRendererMaxParallelRenderingPerClient)
        Sets the number of how many rendering-threads a single client can utilize. By default, the value is determined by getTileRendererPoolMaxSize(). If this value is set to more than 8, tileRendererMaxParallelRenderingPerClient will be the value minus 2, if it is less than 8, tileRendererMaxParallelRenderingPerClient will be the value minus 1. Set 0 if a client can utilize all rendering-threads.
        Parameters:
        tileRendererMaxParallelRenderingPerClient - the amount of how many rendering-threads a single client can utilize
      • isJsonTileEndpointEnabled

        boolean isJsonTileEndpointEnabled()
        Returns true if the endpoint for JSON-tile-requests is enabled or not (default: false)
        Returns:
        true if it is enabled, false otherwise
      • setJsonTileEndpointEnabled

        void setJsonTileEndpointEnabled​(boolean jsonTileEndpointEnabled)
        Controls if the endpoint for JSON-tile-requests is enabled or not. If it is enabled the "regular" Tile-Servlet (with GWT-RPC) is still active. At this point you probably don't have to enable this unless you want to implement your own non-GWT-RPC-frontend or a more comfortable way of writing load-tests.
        Parameters:
        jsonTileEndpointEnabled - enable or disable the endpoint