new GarbageCollector(database, mode, context)
Parameters:
Name | Type | Description |
---|---|---|
database |
olympe.dc.db.Database | |
mode |
olympe.dc.db.GarbageCollector.MODE | |
context |
olympe.df.ExecutionContext |
Members
-
<static> MODE :number
-
Modes of garbage collector
Type:
- number
Properties:
Name Type Default Description DISABLE
number 0 SYNC
number 1 ASYNC
number 2
Methods
-
<package> run()
-
Run the garbage collector in a asynchronous process to avoid blocking the rest of the application.