setWriteAtEnd function

Sets index persistence during shutdown on.

Syntax
ConfigPersistent ConfigPersistent.setWriteAtEnd(
  boolean write_at_end
) throws ULjException
Parameters
  • write_at_end   Set true to retain the database in memory until it is shut down.

Remarks

Enabling this option speeds up database operations but all changes to the database are lost if the application terminates abnormally.

A database should only be processed with index persistence if the data is non-critical or can be recovered by synchronization.

Returns

This ConfigPersistent with WriteAtEnd set.