List of usage examples for org.apache.wicket.page PageStoreManager PageStoreManager
public PageStoreManager(final String applicationName, final IPageStore pageStore, final IPageManagerContext context)
From source file:RedisPageManagerProvider.java
License:Apache License
@Override public IPageManager get(IPageManagerContext pageManagerContext) { IDataStore dataStore = newDataStore(); IStoreSettings storeSettings = getStoreSettings(); if (dataStore.canBeAsynchronous()) { int capacity = storeSettings.getAsynchronousQueueCapacity(); dataStore = new AsynchronousDataStore(dataStore, capacity); }//from w w w . ja va 2 s . c o m IPageStore pageStore = newPageStore(dataStore); return new PageStoreManager(application.getName(), pageStore, pageManagerContext); }