◆ 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