\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.pipeline.engines.configuration.LazyLoadingConfiguration Class Reference

Detailed Description

Used to store configuration values relating to lazy loading.

See also
Specification

Public Member Functions

 LazyLoadingConfiguration (int propertyTimeoutMillis)
Construct a new instance using the default ExecutorServiceFactory. More...
 LazyLoadingConfiguration (int propertyTimeoutMillis, ExecutorServiceFactory factory)
Construct a new instance. More...
int  getPropertyTimeoutMillis ()
Get the timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values. More...
ExecutorService  getExecutorService ()
Get an ExecutorService to use when processing in order to retrieve property values. More...

Constructor & Destructor Documentation

◆ LazyLoadingConfiguration() [1/2]

fiftyone.pipeline.engines.configuration.LazyLoadingConfiguration.LazyLoadingConfiguration ( int   propertyTimeoutMillis )

Construct a new instance using the default ExecutorServiceFactory.

Parameters
propertyTimeoutMillis - the timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values. If the timeout is exceeded then a LazyLoadTimeoutException will be thrown

◆ LazyLoadingConfiguration() [2/2]

fiftyone.pipeline.engines.configuration.LazyLoadingConfiguration.LazyLoadingConfiguration ( int   propertyTimeoutMillis,
ExecutorServiceFactory   factory  
)

Construct a new instance.

Parameters
propertyTimeoutMillis - the timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values. If the timeout is exceeded then a LazyLoadTimeoutException will be thrown
factory - the ExecutorServiceFactory to use when processing in order to retrieve property values

Member Function Documentation

◆ getExecutorService()

ExecutorService fiftyone.pipeline.engines.configuration.LazyLoadingConfiguration.getExecutorService ( )

Get an ExecutorService to use when processing in order to retrieve property values.

Returns
new ExecutorService

◆ getPropertyTimeoutMillis()

int fiftyone.pipeline.engines.configuration.LazyLoadingConfiguration.getPropertyTimeoutMillis ( )

Get the timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values.

If the timeout is exceeded then a LazyLoadTimeoutException will be thrown.

Returns
timeout in milliseconds