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 DISABLEnumber 0 SYNCnumber 1 ASYNCnumber 2
Methods
-
<package> run()
-
Run the garbage collector in a asynchronous process to avoid blocking the rest of the application.
Olympe SDK