Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FourFlow Control (continued)

GetSessionPoolSize Function

Overview

The GetSessionPoolSize function returns the overall size of the session data pool.

Syntax/Parameters

Syntax

int = GetSessionPoolSize ( );

Parameters

(none)

 

Return Value

Returns an int as size in bytes of the pool or a formatted error code on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The returned value is the next offset position to write into session data into the pool. Since not all space a recovered during repeated operations, the value represents the total amount of space used. Total allocated bytes will be slightly higher since they are rounded up to the next block size.

Getting the pool size can be used as a debug tool to determine both the amount of space required for the pool as well as the amount of space trashing.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic