04.02.2013 Views

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Global Configuration Parameters<br />

10<br />

Parameter<br />

MinIdle<br />

MaxIdle<br />

MaxTotal<br />

ExhaustedAction<br />

Type<br />

integer<br />

integer<br />

integer<br />

string<br />

Required<br />

no<br />

no<br />

no<br />

no<br />

Description<br />

hausted. The default setting for this parameter is<br />

8.<br />

The minimum number of idle offscreen bitmaps<br />

(per tile dimension) that should always be available.<br />

If this parameter is set to a positive number and<br />

TimeBetweenEvictionRunsMills is greater<br />

than zero, each time the idle object eviction thread<br />

runs, it will try to create enough idle instances so<br />

that there will be this number of idle instances<br />

available under each key. The default setting for<br />

this parameter is 0.<br />

The maximum number of offscreen bitmap that can<br />

sit idle in the pool (per tile dimension) at any time.<br />

When negative, there is no limit to the number of<br />

objects that may be idle per key. The default setting<br />

for this parameter is 8.<br />

The global limit on the number of objects that can<br />

be in circulation (active or idle) within the combined<br />

set of pools. When non-positive, there is no limit to<br />

the total number of objects in circulation. When<br />

MaxTotal is exceeded, all keyed pools are exhausted.<br />

When MaxTotal is set to a positive value<br />

and an offscreen bitmap is requested when at the<br />

limit with no idle instances available, an attempt is<br />

made to create room by clearing the oldest fifteen<br />

percent (15%) of the elements from the keyed<br />

pools. The default setting for this parameter is -1<br />

(no limit).<br />

The behavior when the pool of offscreen bitmaps<br />

is exhausted. The options are fail, grow, or block.<br />

Fail will throw an exception when an offscreen bitmap<br />

is requested when the pool is exhausted.<br />

Grow, the default, will create a new offscreen bitmap<br />

and return it, making MaxActive meaningless.<br />

Block will stop the process until a new or idle<br />

object is available.<br />

Optionally, one may configure the pool to examine<br />

and possibly evict objects as they sit idle in the pool<br />

and to ensure that a minimum number of idle objects<br />

is maintained for each key. This is performed<br />

by an idle object eviction thread, which runs asynchronously.<br />

Caution should be used when configuring<br />

this optional feature.<br />

Eviction runs require an exclusive synchronization<br />

lock on the pool. If they run too frequently or incur<br />

excessive latency when creating, destroying or<br />

validating object instances, performance issues<br />

<strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> 1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!