←Select platform

setExecutorService(ExecutorService) Method

Summary

Provides a Future pool that can be used to execute tasks, post work items, and process asynchronous operations.

Syntax

Java
public static void setExecutorService(java.util.concurrent.ExecutorService); 

Parameters

ExecutorService

An Executor that provides methods to manage termination and methods that can produce a Future for tracking progress of one or more asynchronous tasks.

Remarks

An ExecutorService can be shut down, which will cause it to reject new tasks. Hence, make sure to pass a valid service executor and keep it alive before executing any method. The user can share their application Service Executor with LEADTOOLS by passing their Service Executor to this method.

Requirements

Target Platforms

See Also

RasterDefaults Class

RasterDefaults Members

RasterDefaults.GetTemporaryFileName

RasterDefaults.TempFileMode

Leadtools Namespace

Help Version 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.