- TIBCO BusinessEvents®
- CEP Pattern
- Pattern
- Service
- Advanced

# Pattern.Service.Advanced.setMaxExecutorThreads()

## Signature

`void setMaxExecutorThreads(int numThreads)`

## Domain

ACTION

## Description

Sets the maximum number of pooled Threads that the Service can create and use for pattern processing.

## Parameters

Name | Type | Description
--- | --- | ---
`numThreads` | `int` | The maximum number of Threads to be used by the Pattern Service.

## Returns

Type | Description
--- | ---
`void` |

## Cautions

none