purgeInstances
purgeInstances() serverExecution;
The purgeInstances method of the JadeDbFilePartition class executes a bulk‑removal operation that performs the required side‑effects of deleting each object in the partition without deleting them from the database partition. Logically deleting a partition removes the physical file from the file system and changes the partition state to deleted. Because objects and subobjects stored in the partition are not deleted, file maintenance and auditing overheads are avoided.
The object deletion side-effects that are performed include:
-
Inverse maintenance
-
Destructor execution
-
Deletion of child objects that can be reached through parent‑child relationships
When a purge instances operation is executing, attempts to create, update, or delete objects in a partition that is being purged are rejected with exception 3186 (Operation not valid: partition being purged).
2022.0.01 and higher