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. | |
| LazyLoadingConfiguration (int propertyTimeoutMillis, ExecutorServiceFactory factory) | |
| Construct a new instance. | |
| int | getPropertyTimeoutMillis () |
| Get the timeout in milliseconds to use when waiting for processing to complete in order to retrieve property values. | |
| ExecutorService | getExecutorService () |
Get an ExecutorService to use when processing in order to retrieve property values. | |
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 LazyLoadTimeoutExceptionwill 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 LazyLoadTimeoutExceptionwill be thrownfactory the ExecutorServiceFactoryto 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
