/** * @return Maximum size of thread pool which is used to process scheduled tasks */ @Property("cuba.schedulingThreadPoolSize") @DefaultInt(10) int getSchedulingThreadPoolSize(); void setSchedulingThreadPoolSize(int value);
return String.valueOf(defaultIntAnn.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 HTTP session expiration timeout in seconds.<br> * Should be equals or less than middleware user session timeout {@code cuba.userSessionExpirationTimeoutSec} */ @Property("cuba.httpSessionExpirationTimeoutSec") @DefaultInt(1800) int getHttpSessionExpirationTimeoutSec();
/** * @return Maximum number of opened tabs. 0 for unlimited. */ @Property("cuba.web.maxTabCount") @DefaultInt(20) int getMaxTabCount();
/** * @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();
/** * @return number of searched entities for which system checks RLS by one database query. */ @Property("fts.loadSize") @DefaultInt(100) int getLoadSize();
/** * @return User session expiration timeout in seconds. * Not the same as HTTP session timeout, but should have the same value. */ @Property("cuba.userSessionExpirationTimeoutSec") @DefaultInt(1800) int getUserSessionExpirationTimeoutSec(); void setUserSessionExpirationTimeoutSec(int timeout);