Interface ShuffleServiceFactory<SD extends ShuffleDescriptor,P extends ResultPartitionWriter,G extends IndexedInputGate>

Type Parameters:
SD - partition shuffle descriptor used for producer/consumer deployment and their data exchange.
P - type of provided result partition writers
G - type of provided input gates
All Known Implementing Classes:
NettyShuffleServiceFactory

public interface ShuffleServiceFactory<SD extends ShuffleDescriptor,P extends ResultPartitionWriter,G extends IndexedInputGate>
Interface for shuffle service factory implementations.

This component is a light-weight factory for ShuffleMaster and ShuffleEnvironment.

  • Method Details

    • createShuffleMaster

      ShuffleMaster<SD> createShuffleMaster(ShuffleMasterContext shuffleMasterContext)
      Factory method to create a specific ShuffleMaster implementation.
      Parameters:
      shuffleMasterContext - shuffle context for shuffle master.
      Returns:
      shuffle manager implementation
    • createShuffleEnvironment

      ShuffleEnvironment<P,G> createShuffleEnvironment(ShuffleEnvironmentContext shuffleEnvironmentContext)
      Factory method to create a specific local ShuffleEnvironment implementation.
      Parameters:
      shuffleEnvironmentContext - local context
      Returns:
      local shuffle service environment implementation