Create a Data Source Interceptor
Configuration Options Related Tasks Related Topics
Use these pages to create a data source interceptor for the domain. A data source interceptor intercepts dynamic cluster scale up operations to validate that the scaling operation will not overload the database.
Configuration Options
Name Description Name The user-specified name of this MBean instance.
This name is included as one of the key properties in the MBean's
javax.management.ObjectName
:
Name=user-specified-name
MBean Attribute:
DatasourceInterceptorMBean.Name
Changes take effect after you redeploy the module or restart the server.
Connection Quota The maximum number of connections for the databases associated with the defined URL patterns.
MBean Attribute:
DatasourceInterceptorMBean.ConnectionQuota
Priority The priority of this intercepted method in the interceptor chain. An interceptor with a higher priority will be executed earlier than an interceptor with a lower priority.
Note: 1073741823 is actually Integer.MAX_VALUE / 2 as defined in InterceptorPriorities.
MBean Attribute:
DatasourceInterceptorMBean.Priority
URLs Pattern Returns the regex pattern for the connection urls. The url pattern may cover multiple databases in case such databases are actually running on the same database machine.
MBean Attribute:
DatasourceInterceptorMBean.ConnectionUrlsPattern