org.apache.wicket.jmx
Class StoreSettings
java.lang.Object
org.apache.wicket.jmx.StoreSettings
- All Implemented Interfaces:
- StoreSettingsMBean
public class StoreSettings
- extends Object
- implements StoreSettingsMBean
Exposes Application's StoreSettings for JMX.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoreSettings
public StoreSettings(Application application)
- Construct.
- Parameters:
application -
getInmemoryCacheSize
public int getInmemoryCacheSize()
- Specified by:
getInmemoryCacheSize in interface StoreSettingsMBean
- Returns:
- the number of page instances which will be stored in the http session for faster
retrieval
getMaxSizePerSession
public long getMaxSizePerSession()
- Specified by:
getMaxSizePerSession in interface StoreSettingsMBean
- Returns:
- maximum page size. After this size is exceeded, the
DiskDataStore 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
DiskDataStore 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 IDataStore
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.