Optional
createAllow creating a new database (default: true). If the database folder does not exist, it will be created.
Optional
maxDefault value that specifies the maximum number of
expiring items that may be in the database.
Is used by the deleteOldExpiringItems()
method as default value.
Optional
readonlyOpen the database as read-only (default: false).
Optional
readwriteOpen the database as read-write (default: true).
Optional
ttlDefault TTL milliseconds. Standard time period in milliseconds before an entry written to the DB becomes invalid.
Database options