Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

A spatial engine provides access to a service that can perform spatial operations, one of the available spatial engines is for ArcSDE.

Namespace

urn:com.cohga.server.spatial.geotools#1.0

Tags

spatialengine

Properties

Name

Type

Required

Description

id

string

yes

Unique identifier

dbtype

'arcsde'

yes

The name of the driver to use, in this case ArcSDE

server

string

yes

The hostname or ip address of the ArcSDE server

port

number

yes

The port number that the ArcSDE server is running on

user

string

yes

The userid used when connecting to ArcSDE

password

string

yes

The password used when connecting to ArcSDE

Sub-tags

Name

type

cardinality

pool

urn:com.cohga.server.spatial.geotools#1.0:pool

0..1

Content

None

pool

Properties

Name

Type

Required

Default

Description

minConnections

number

no

2

The number of connection to create at startup

maxConnections

number

no

2

The maximum number of objects that can be borrowed from the pool at one

timeOut

number

no

1000

The maximum amount of time to wait, in milliseconds, for an object when the pool is exhausted and whenExhaustedAction is 'block' (otherwise ignored)

minIdle

number

no

0

The minimum number of idle connections in the pool

maxIdle

number

no

8

The maximum number of idle connections in the pool

testOnBorrow

boolean

no

false

Should the connection be checked for validity when being borrowed from the pool

testOnReturn

boolean

no

false

Should the connection be checked for validity when being returned to the pool

testWhileIdle

boolean

no

false

Should the connection be checked for validity when just sitting in the pool

timeBetweenEvictionRunsMillis

number

no

-1

Sets the number of milliseconds to sleep between runs of the idle connection evictor

whenExhaustedAction

'fail', 'grow' or 'block'

no

block

Sets the action to take when the pool is exhausted (the maximum number of "active" objects has been reached)

minEvictableIdleTimeMillis

number

no

1800000

The minimum number of milliseconds an connection can sit idle in the pool before it is eligible for eviction

softMinEvictableIdleTimeMillis

number

no

-1

The minimum number of milliseconds an connection can sit idle in the pool before it is eligible for eviction with the extra condition that at least "minIdle" amount of connections remain in the pool

Sub-tags

None

Content

None

Examples

<geotools:spatialengine id="arcsde">
        <dbtype>arcsde</dbtype>
        <server>sdedev</server>
        <port>5151</port>
        <user>gis</user>
        <password>b0rdumm</password>
        <pool>
                <minConnections>1</minConnections>
                <maxConnections>16</maxConnections>
                <timeout>10</timeout>
                <testOnBorrow>true</testOnBorrow>
                <testOnReturn>false</testOnReturn>
                <testWhileIdle>false</testWhileIdle>
                <timeBetweenEvictionRunsMillis>5000</timeBetweenEvictionRunsMillis>
                <whenExhaustedAction>grow</whenExhaustedAction>
        </pool>
</geotools:spatialengine>
  • No labels