A data source interceptor intercepts dynamic cluster scale up
operations to validate that the scaling operation will not overload the
database.
To create a data source
interceptor:
If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
In the left
pane, expand Diagnostics and select
Interceptors.
Select the Data Source Interceptors page.
Click New.
On the Create a Data Source Interceptor page:
Enter a name for the data source interceptor in the
Name field.
In Connection Quota, enter the maximum
number of connections that can be made to the databases backed by
the URL patterns specified.
In Priority, enter the priority of
this intercepted method in the interceptor chain. Interceptors
with higher priorities are executed before interceptors with lower
priorities.
Click Next.
On the Configure Connection URL Pattern page, specify the
regular expression pattern for the connection URLs. You can either
select a URL from the Available URLs menu or
enter a URL in the URLs Pattern field. An
example URL pattern is
jdbc:derby://host:1527/(.*).