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

# Pattern.Service.Advanced.setMaxSchedulerThreads()

## Signature

`void setMaxSchedulerThreads(int numThreads)`

## Domain

ACTION

## Description

Sets the maximum number of pooled Threads that the Service can create and use for scheduling time based tasks during pattern processing.

## Parameters

Name | Type | Description
--- | --- | ---
`numThreads` | `int` | temporal/time based patterns.

## Returns

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

## Cautions

none