protected IDataStore newApplicationDataStore ( ) { final StoreSettings storeSettings = getStoreSettings ( ) ; final Bytes maxSizePerSession = storeSettings . getMaxSizePerSession ( ) ; final File fileStoreFolder = storeSettings . getFileStoreFolder ( ) ; return new DiskDataStore ( this . getName ( ) , fileStoreFolder , maxSizePerSession ) ; }
Factory method that can be overwritten to provide an application data store . Here the default will be returned .