Package org.apache.wicket.jmx.wrapper
Class StoreSettings
- java.lang.Object
-
- org.apache.wicket.jmx.wrapper.StoreSettings
-
- All Implemented Interfaces:
StoreSettingsMBean
public class StoreSettings extends Object implements StoreSettingsMBean
Exposes Application's StoreSettings for JMX.
-
-
Constructor Summary
Constructors Constructor Description StoreSettings(org.apache.wicket.Application application)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAsynchronousQueueCapacity()StringgetFileStoreFolder()longgetMaxSizePerSession()booleanisAsynchronous()
-
-
-
Constructor Detail
-
StoreSettings
public StoreSettings(org.apache.wicket.Application application)
Construct.- Parameters:
application-
-
-
Method Detail
-
getMaxSizePerSession
public long getMaxSizePerSession()
- Specified by:
getMaxSizePerSessionin interfaceStoreSettingsMBean- Returns:
- maximum page size. After this size is exceeded, the
DiskPageStorewill start saving the pages at the beginning of file.
-
getFileStoreFolder
public String getFileStoreFolder()
- Specified by:
getFileStoreFolderin interfaceStoreSettingsMBean- Returns:
- the location of the folder where
DiskPageStorewill store the files with page instances per session
-
getAsynchronousQueueCapacity
public int getAsynchronousQueueCapacity()
- Specified by:
getAsynchronousQueueCapacityin interfaceStoreSettingsMBean- Returns:
- the capacity of the queue used to store the pages which will be stored asynchronously
-
isAsynchronous
public boolean isAsynchronous()
- Specified by:
isAsynchronousin interfaceStoreSettingsMBean- Returns:
truewhen the HTTP worker thread doesn't wait for the storing of the page's bytes inIPageStore
-
-