嗨,我正在使用检票口并在打开两个页面时页面过期,并且我试图在另一个页面之后提交有没有办法在检票口 6.8 中支持 getPageSettings().setAutomaticMultiWindowSupport(true)
问问题
801 次
1 回答
0
您必须知道您的页面将有多大以及您并行处理的会话数。我认为您的页面大小(序列化)大于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);
于 2013-12-02T08:28:14.760 回答