Class StoreSettings

    • Constructor Detail

      • StoreSettings

        public StoreSettings​(org.apache.wicket.Application application)
        Construct.
        Parameters:
        application -
    • Method Detail

      • getMaxSizePerSession

        public long getMaxSizePerSession()
        Specified by:
        getMaxSizePerSession in interface StoreSettingsMBean
        Returns:
        maximum page size. After this size is exceeded, the DiskPageStore will start saving the pages at the beginning of file.
      • getFileStoreFolder

        public String getFileStoreFolder()
        Specified by:
        getFileStoreFolder in interface StoreSettingsMBean
        Returns:
        the location of the folder where DiskPageStore will store the files with page instances per session
      • getAsynchronousQueueCapacity

        public int getAsynchronousQueueCapacity()
        Specified by:
        getAsynchronousQueueCapacity in interface StoreSettingsMBean
        Returns:
        the capacity of the queue used to store the pages which will be stored asynchronously
      • isAsynchronous

        public boolean isAsynchronous()
        Specified by:
        isAsynchronous in interface StoreSettingsMBean
        Returns:
        true when the HTTP worker thread doesn't wait for the storing of the page's bytes in IPageStore