Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Romeh
Created November 17, 2017 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Romeh/9e1289e07c4eb4bb0e190e9a18ae89d3 to your computer and use it in GitHub Desktop.
Save Romeh/9e1289e07c4eb4bb0e190e9a18ae89d3 to your computer and use it in GitHub Desktop.
// durable file memory persistence
if(enableFilePersistence){
PersistentStoreConfiguration persistentStoreConfiguration = new PersistentStoreConfiguration();
persistentStoreConfiguration.setPersistentStorePath("./data/store");
persistentStoreConfiguration.setWalArchivePath("./data/walArchive");
persistentStoreConfiguration.setWalStorePath("./data/walStore");
igniteConfiguration.setPersistentStoreConfiguration(persistentStoreConfiguration);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment