Class NotificationManagerProperties
java.lang.Object
com.broadleafcommerce.common.messaging.notification.NotificationManagerProperties
@ConfigurationProperties("broadleaf.notification.manager")
public class NotificationManagerProperties
extends Object
Configuration for instances of 
NotificationManager- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe thread pool size used for async handling.inthashCode()booleanWhether calls toNotificationManager.handleAsync(NotificationStateRepository, NotificationStateAware, String)will actually use async threading.voidsetAsyncEnabled(boolean asyncEnabled) Whether calls toNotificationManager.handleAsync(NotificationStateRepository, NotificationStateAware, String)will actually use async threading.voidsetThreadPoolSize(int threadPoolSize) The thread pool size used for async handling.toString() 
- 
Field Details
- 
DEFAULT_THREAD_POOL_SIZE
public static final int DEFAULT_THREAD_POOL_SIZE- See Also:
 
 
 - 
 - 
Constructor Details
- 
NotificationManagerProperties
public NotificationManagerProperties() 
 - 
 - 
Method Details
- 
getThreadPoolSize
public int getThreadPoolSize()The thread pool size used for async handling. Default is 10. - 
isAsyncEnabled
public boolean isAsyncEnabled()Whether calls toNotificationManager.handleAsync(NotificationStateRepository, NotificationStateAware, String)will actually use async threading. Can be useful for testing or other special circumstances to disable. - 
setThreadPoolSize
public void setThreadPoolSize(int threadPoolSize) The thread pool size used for async handling. Default is 10. - 
setAsyncEnabled
public void setAsyncEnabled(boolean asyncEnabled) Whether calls toNotificationManager.handleAsync(NotificationStateRepository, NotificationStateAware, String)will actually use async threading. Can be useful for testing or other special circumstances to disable. - 
equals
 - 
canEqual
 - 
hashCode
public int hashCode() - 
toString
 
 -