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(Application application)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAsynchronousQueueCapacity()
String
getFileStoreFolder()
long
getMaxSizePerSession()
boolean
isAsynchronous()
-
-
-
Constructor Detail
-
StoreSettings
public StoreSettings(Application application)
Construct.- Parameters:
application
-
-
-
Method Detail
-
getMaxSizePerSession
public long getMaxSizePerSession()
- Specified by:
getMaxSizePerSession
in interfaceStoreSettingsMBean
- Returns:
- maximum page size. After this size is exceeded, the
DiskPageStore
will start saving the pages at the beginning of file.
-
getFileStoreFolder
public String getFileStoreFolder()
- Specified by:
getFileStoreFolder
in interfaceStoreSettingsMBean
- Returns:
- the location of the folder where
DiskPageStore
will store the files with page instances per session
-
getAsynchronousQueueCapacity
public int getAsynchronousQueueCapacity()
- Specified by:
getAsynchronousQueueCapacity
in interfaceStoreSettingsMBean
- Returns:
- the capacity of the queue used to store the pages which will be stored asynchronously
-
isAsynchronous
public boolean isAsynchronous()
- Specified by:
isAsynchronous
in interfaceStoreSettingsMBean
- Returns:
true
when the HTTP worker thread doesn't wait for the storing of the page's bytes inIPageStore
-
-