org.apache.wicket.jmx
Interface StoreSettingsMBean

All Known Implementing Classes:
StoreSettings

public interface StoreSettingsMBean

JMX MBean for Application's StoreSettings


Method Summary
 int getAsynchronousQueueCapacity()
           
 java.lang.String getFileStoreFolder()
           
 int getInmemoryCacheSize()
           
 long getMaxSizePerSession()
           
 boolean isAsynchronous()
           
 

Method Detail

getInmemoryCacheSize

int getInmemoryCacheSize()
Returns:
the number of page instances which will be stored in the http session for faster retrieval

getMaxSizePerSession

long getMaxSizePerSession()
Returns:
maximum page size. After this size is exceeded, the DiskDataStore will start saving the pages at the beginning of file.

getFileStoreFolder

java.lang.String getFileStoreFolder()
Returns:
the location of the folder where DiskDataStore will store the files with page instances per session

getAsynchronousQueueCapacity

int getAsynchronousQueueCapacity()
Returns:
the capacity of the queue used to store the pages which will be stored asynchronously

isAsynchronous

boolean isAsynchronous()
Returns:
true when the HTTP worker thread doesn't wait for the storing of the page's bytes in IDataStore


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.