Examples of maintainInMemorySetup()


Examples of net.sf.joafip.service.IFilePersistence.maintainInMemorySetup()

    builder.setCrashSafeMode(false);
    final IFilePersistence filePersistence = builder.build();

    filePersistence.autoSaveSetup(0);// 0 is important for the test
    filePersistence.setAutoSaveEnabled(true);
    filePersistence.maintainInMemorySetup(500);
    filePersistence.setMaintainedInMemoryEnabled(true);
    final IExclusiveDataAccessSession session = filePersistence
        .createExclusiveDataAccessSession();
    session.open();
    session.setObject("key1", new Object());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.