Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GarbageCollectSetTimeLimit – PB Docs 126 – PowerBuilder Library

GarbageCollectSetTimeLimit – PB Docs 126

GarbageCollectSetTimeLimit PowerScript function

Description

Sets the minimum interval between garbage collection passes.

Syntax

Argument

Description

newtimeinmilliseconds

A long (in milliseconds) that you want
to set as the minimum period between garbage collection cycles.

If null, the existing interval is not changed.

Return Values

Long. Returns the interval that existed
before this function was called. If newTime is null,
then null is returned and the current interval
is not changed.

Usage

Specifies the minimum interval between garbage collection
passes: garbage collection passes will not happen before this interval
has expired. Garbage collection can effectively be disabled by setting
the minimum limit to a very large number. If garbage collection
is disabled, unused classes will not be flushed out of the class
cache.

Examples

This example sets the interval between garbage collection
passes to 1 second and sets the variable OldTime to
the length of the previous interval:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x