Jump to content
McObject Forums
Sign in to follow this  

Can let the Perst run only at in-memory mode ?

Recommended Posts

db.open(new NullFile(), Storage.INFINITE_PAGE_POOL)

See the documentation for NullFile (\perst\doc14\org\garret\perst\NullFile.html) and INFINITE_PAGE_POOL (/perst/doc14/org/garret/perst/Storage.html#INFINITE_PAGE_POOL)

Also see /perst/tst14/benchmark.java for an example.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this