Declaration

TnxServerEngine = class(TnxBaseServerEngine)

 
Description

The core NexusDB server engine component. This component integrates the full functionality of an embedded database engine. Use as the core of a custom standalone server, or in your app to add embedded database capability.

 
Methods

Create

constructor.

Destroy

destructor.

GetStatsCaptions

Gets statistic value captions.

GetStatsValues

Gets statistic values.

LoadSettingsFromStream

The text for this method has been generated automatically. This means that it is not documented.

SaveSettingsToStream

The text for this method has been generated automatically. This means that it is not documented.

seCloseInactiveFolders

protected

seCloseInactiveTables

The text for this method has been generated automatically. This means that it is not documented.

SessionOpenEx

This function opens creates a new session. It additionally passes the Client Version. This function can be used to support older clients on a newer version on the server.

 
Properties

AliasHandler

If custom alias handling is required, derive a new handler and assign it to this property.

FolderCount

The number of currently open folders.

MaxRAM

The maximum amount of physical RAM the serverengine will use for database block storage, in MB. -1 equals half of physical memory.

Options

Various options:

seoReadOnly - activate if no writing is required, allows for sharing databases between servers seoForceFailSafe - always use failsafe transactions seoCloseInactiveFolders - ensure folders are closed and not kept open for speed seoCloseInactiveTables - ensure tables are closed and not kept open for speed seoInMemOnly - activate to ensure that no writing to disk takes place (e.g. by SQL resultsets) seoIsSecure - activate to enforce use of usernames and password

ServerName

Descriptive name for your server. The name is returned as part of the servername when clients browse for servers.

SqlEngine

If SQL capability is required, add a TnxSQLEngine to your datamodule and point this property to it.

TableCount

The number of currently open tables.

TempStorePath

The drive and path for temporary storage. If blank, will use the system user path for temp files.

TempStoreSize

The maximum amount of temporary storage the engine will allocate on disk. The default, -1, is calculated as the smallest of these 3 values:

 
File

 
nxsrServerEngine

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes