protected void fillSettings ( Settings settings ) { settings . setStringProperty ( "name" , name ) ; settings . setIntProperty ( "persistentStore.initialBlockCount" , initialBlockCount ) ; settings . setIntProperty ( "persistentStore.maxBlockCount" , maxBlockCount ) ; settings . setIntProperty ( "persistentStore.autoExtendAmount" , autoExtendAmount ) ; settings . setIntProperty ( "persistentStore.blockSize" , blockSize ) ; if ( rawDataFolder != null ) settings . setStringProperty ( "persistentStore.dataFolder" , rawDataFolder ) ; settings . setIntProperty ( "memoryStore.maxMessages" , maxNonPersistentMessages ) ; settings . setBooleanProperty ( "persistentStore.useJournal" , useJournal ) ; if ( rawJournalFolder != null ) settings . setStringProperty ( "persistentStore.journal.dataFolder" , rawJournalFolder ) ; settings . setLongProperty ( "persistentStore.journal.maxFileSize" , maxJournalSize ) ; settings . setIntProperty ( "persistentStore.journal.maxWriteBatchSize" , maxWriteBatchSize ) ; settings . setIntProperty ( "persistentStore.journal.maxUnflushedJournalSize" , maxUnflushedJournalSize ) ; settings . setIntProperty ( "persistentStore.journal.maxUncommittedStoreSize" , maxUncommittedStoreSize ) ; settings . setIntProperty ( "persistentStore.journal.outputBufferSize" , journalOutputBuffer ) ; settings . setBooleanProperty ( "persistentStore.journal.preAllocateFiles" , preAllocateFiles ) ; settings . setIntProperty ( "persistentStore.syncMethod" , storageSyncMethod ) ; settings . setBooleanProperty ( "temporary" , temporary ) ; settings . setBooleanProperty ( "memoryStore.overflowToPersistent" , overflowToPersistent ) ; }
Append nodes to the XML definition