3
嗨,我正在使用檢票和獲取頁面過期時,有兩個頁面打開,我試圖提交後其他 有沒有辦法支持getPageSettings()。setAutomaticMultiWindowSupport(真正)在門票6.8支持多窗口檢票6.x
嗨,我正在使用檢票和獲取頁面過期時,有兩個頁面打開,我試圖提交後其他 有沒有辦法支持getPageSettings()。setAutomaticMultiWindowSupport(真正)在門票6.8支持多窗口檢票6.x
你必須知道你的網頁有多大,你有多少會議並行。我認爲你的頁面大小(序列化)大於maxSizePerSession
,因爲只有最後一頁存儲在磁盤上。
你可以調整你的IPageStore
設置一個位(但這樣會增加你的資源使用):
/**
* Sets the maximum number of page instances which will be stored in the application scoped
* second level cache for faster retrieval
*
* @param inmemoryCacheSize
* the maximum number of page instances which will be held in the application scoped
* cache
*/
void setInmemoryCacheSize(int inmemoryCacheSize);
/**
* Sets the maximum size of the {@link File} where page instances per session are stored. After
* reaching this size the {@link DiskDataStore} will start overriding the oldest pages at the
* beginning of the file.
*
* @param maxSizePerSession
* the maximum size of the file where page instances are stored per session. In
* bytes.
*/
void setMaxSizePerSession(Bytes maxSizePerSession);