/** * @return Maximum size of thread pool which is used to process scheduled tasks */ @Property("cuba.schedulingThreadPoolSize") @DefaultInt(10) int getSchedulingThreadPoolSize(); void setSchedulingThreadPoolSize(int value);
/** * SMTP connection timeout value in seconds. */ @Property("cuba.email.smtpConnectionTimeoutSec") @DefaultInt(20) int getSmtpConnectionTimeoutSec();
/** * @return Default maximum number of entity instances of certain type in database, after which lookup screen * will be used instead of dropdown list for lookup. */ @Property("cuba.defaultLookupScreenThreshold") @DefaultInt(100) int getDefaultLookupScreenThreshold(); void setDefaultLookupScreenThreshold(int value);
/** * @return check interval for sessions and tickets expiration. */ @Property("cuba.idp.sessionExpirationCheckIntervalMs") @DefaultInt(30000) int getSessionExpirationCheckIntervalMs();
/** * Sets the page length for Table implementation - count of rows for first rendering of Table. After first partial * rendering Table will request rest of rows from the server. * <br> * Setting page length 0 disables paging. * <br> * If Table has fixed height the client side may update the page length automatically the correct value. */ @Property("cuba.web.table.pageLength") @DefaultInt(15) int getTablePageLength();
/** * @return Maximum number of items stored in the {@link com.haulmont.cuba.web.log.AppLog} queue */ @Property("cuba.web.appLogMaxItemsCount") @DefaultInt(10) int getAppLogMaxItemsCount();
/** * SMTP I/O timeout value in seconds. */ @Property("cuba.email.smtpTimeoutSec") @DefaultInt(60) int getSmtpTimeoutSec();
/** * Max number of attempts to send a message, after which the message's status is set to NOT_SENT. */ @Property("cuba.email.defaultSendingAttemptsCount") @DefaultInt(10) int getDefaultSendingAttemptsCount();
/** * @return Maximum queue capacity which is used by executor to store messages to the cluster members. By default is unbounded */ @Property("cuba.cluster.messageSendingQueueCapacity") @DefaultInt(Integer.MAX_VALUE) int getClusterMessageSendingQueueCapacity(); }
/** * @return Default maximum number of entity instances of certain type in database, after which a lazy * collection datasource will be used. This parameter is taken into account only if entity statistics has been * gathered and if the datasource has fetchMode="LAZY". */ @Property("cuba.defaultLazyCollectionThreshold") @DefaultInt(100) int getDefaultLazyCollectionThreshold(); void setDefaultLazyCollectionThreshold(int value);
@Property("cuba.rest.apiVersion") @DefaultInt(2) int getRestApiVersion(); }
/** * @return the maximum number of idle instances of compiled groovy expressions in {@code Scripting.evaluateGroovy()} * @see GenericKeyedObjectPoolConfig#setMaxIdlePerKey(int) */ @Property("cuba.groovyEvaluationPoolMaxIdle") @DefaultInt(8) int getGroovyEvaluationPoolMaxIdle();
/** * @return AppFolders refresh period in seconds. */ @Property("cuba.web.appFoldersRefreshPeriodSec") @DefaultInt(180) int getAppFoldersRefreshPeriodSec();
/** * @return Default {@link com.haulmont.cuba.web.app.folders.CubaFoldersPane} width. */ @Property("cuba.web.foldersPaneDefaultWidth") @DefaultInt(200) int getFoldersPaneDefaultWidth();
/** * @return the interval of the heartbeat requests for Web Client UI. If set to -1 then Web Client uses calculated * value {@link #getHttpSessionExpirationTimeoutSec()} / 3. Set to 0 in order to disable heartbeat requests. */ @Property("cuba.web.uiHeartbeatIntervalSec") @DefaultInt(-1) int getUiHeartbeatIntervalSec();
/** * Timeout in seconds for message in {@link com.haulmont.cuba.core.global.SendingStatus#SENDING} status * to be successfully sent or failed. After this time passes, emailer will try to resend email again. */ @Property("cuba.email.sendingTimeoutSec") @DefaultInt(240) int getSendingTimeoutSec();
/** * @return Maximum size of thread pool which is used to send messages to the cluster members */ @Property("cuba.cluster.messageSendingThreadPoolSize") @DefaultInt(100) int getClusterMessageSendingThreadPoolSize();
/** * @return Maximum size of uploaded file in megabytes. */ @Property("cuba.maxUploadSizeMb") @Source(type = SourceType.DATABASE) @DefaultInt(20) int getMaxUploadSizeMb(); void setMaxUploadSizeMb(int value);
/** * @return Number of columns with conditions in generic filter UI component. */ @Property("cuba.gui.genericFilterColumnsCount") @Source(type = SourceType.DATABASE) @DefaultInt(3) int getGenericFilterColumnsCount();
/** * Returns a number of items to be displayed in popup list near the 'Search' button. If number of filter * entities exceeds this value then 'Show more..' action is added to the popup list. The action * will show new dialog window with all possible filter entities for selecting a desired one. */ @Property("cuba.gui.genericFilterPopupListSize") @Source(type = SourceType.DATABASE) @DefaultInt(10) int getGenericFilterPopupListSize();