KeyView 24.4
KeyView Filter SDK Java Programming Guide

# Persist the Child Process

In out-of-process filtering, the parent process maintains a persistent connection with the child server after each file is filtered. While the connection is preserved in this way, subsequent filtering requests are processed more quickly because the server is already prepared to receive data.

You can restart the server at regular intervals by using a function or a configuration setting.

## In the API

To force the out-of-process server to restart, call the `refreshFilterKVOOP()` method.

## In the formats.ini File

To control whether Filter persists the server, use the `kvoopRefresh` parameter in the `[FilterSDK_Config]` section of the `formats.ini` file:

`kvoopRefresh=0` | When you set `kvoopRefresh` to `0` (zero), the connection to the server persists for as long as the parent process is running or until the server fails. This is the default when `kvoopRefresh` is not specified in `formats.ini`.
`kvoopRefresh=n` | When you set `kvoopRefresh` to `n` (where `n` is a positive number), the connection persists for `n` filter requests. After the `n`th request, the server is shut down and restarted before processing the next request. For example, if you set `kvoopRefresh` to `5`, the connection to the server persists for five filter requests. For the sixth request, the server is shut down and restarted.

To control whether the parent process attempts to filter a file after the file has caused the server to fail, use the `kvoopRetry` parameter in the `[FilterSDK_Config]` section of the `formats.ini` file:

`kvoopRetry=0` | When you set `kvoopRetry` to `0` and the server fails, the parent process does not resend the file to a new server.
`kvoopRetry=n` | When you set `kvoopRetry` to `n` (where `n` is a positive number) and the server fails, the parent process resends the file to a new server `n` times. By default, `kvoopRetry` is set to `1`, and the file is resent to a server once.

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: Persist the Child Process