Skip to content

Commit

Permalink
feat(transport): add method to set queue size
Browse files Browse the repository at this point in the history
  • Loading branch information
SkeLLLa committed Feb 20, 2025
1 parent 4702e89 commit c7eadaa
Show file tree
Hide file tree
Showing 8 changed files with 588 additions and 359 deletions.
9 changes: 9 additions & 0 deletions docs/api/pinot-noir.ipinotbrokertransport.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,14 @@ Closes connection to Pinot broker.

Perform HTTP request to Pinot.

</td></tr>
<tr><td>

[setMaxQueueSize(size)](./pinot-noir.ipinotbrokertransport.setmaxqueuesize.md)

</td><td>

Set maximum query queue size.

</td></tr>
</tbody></table>
46 changes: 46 additions & 0 deletions docs/api/pinot-noir.ipinotbrokertransport.setmaxqueuesize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [pinot-noir](./pinot-noir.md) &gt; [IPinotBrokerTransport](./pinot-noir.ipinotbrokertransport.md) &gt; [setMaxQueueSize](./pinot-noir.ipinotbrokertransport.setmaxqueuesize.md)

## IPinotBrokerTransport.setMaxQueueSize() method

Set maximum query queue size.

**Signature:**

```typescript
setMaxQueueSize(size: number): void;
```

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

size

</td><td>

number

</td><td>

new queue size

</td></tr>
</tbody></table>
**Returns:**

void
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Maximum query queue size.
**Signature:**

```typescript
protected readonly maxQueueSize: number | undefined;
protected maxQueueSize: number | undefined;
```
13 changes: 11 additions & 2 deletions docs/api/pinot-noir.pinotbrokerjsontransport.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ Description
`protected`
`readonly`
</td><td>
number \| undefined
Expand Down Expand Up @@ -173,5 +171,16 @@ Closes connection to Pinot broker.
Perform HTTP request to Pinot.
</td></tr>
<tr><td>
[setMaxQueueSize(size)](./pinot-noir.pinotbrokerjsontransport.setmaxqueuesize.md)
</td><td>
</td><td>
Set maximum query queue size.
</td></tr>
</tbody></table>
46 changes: 46 additions & 0 deletions docs/api/pinot-noir.pinotbrokerjsontransport.setmaxqueuesize.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [pinot-noir](./pinot-noir.md) &gt; [PinotBrokerJSONTransport](./pinot-noir.pinotbrokerjsontransport.md) &gt; [setMaxQueueSize](./pinot-noir.pinotbrokerjsontransport.setmaxqueuesize.md)

## PinotBrokerJSONTransport.setMaxQueueSize() method

Set maximum query queue size.

**Signature:**

```typescript
setMaxQueueSize(size: number): void;
```

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

size

</td><td>

number

</td><td>

new queue size

</td></tr>
</tbody></table>
**Returns:**

void
Loading

0 comments on commit c7eadaa

Please sign in to comment.