public class TierFactoryInitializer extends Object
TierFactory
instances based
on the provided TieredStorageConfiguration
. It uses different methods to handle different
levels of shuffle data persistence.Constructor and Description |
---|
TierFactoryInitializer() |
Modifier and Type | Method and Description |
---|---|
static List<TierFactory> |
initializeTierFactories(Configuration configuration)
Initializes and returns a list of
TierFactory instances according to the specified
TieredStorageConfiguration 's persistent level. |
public static List<TierFactory> initializeTierFactories(Configuration configuration)
TierFactory
instances according to the specified
TieredStorageConfiguration
's persistent level. The method selects the appropriate
strategy to create and initialize tier factories based on whether the shuffle data should be
ephemeral, tied to task manager (TM) levels, or durable.configuration
- The Configuration
used to initialize the factories.TierFactory
instances configured according to the given
persistent level.IllegalArgumentException
- If an unknown persistent level is encountered.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.