Interface ModelMultiExec.Models<T>

Type Parameters:
T - model input data type
All Known Implementing Classes:
ConditionalModels
Enclosing class:
ModelMultiExec<T>

public static interface ModelMultiExec.Models<T>
An interface for determining which models get executed for each model data instance.
  • Method Summary

    Modifier and Type Method Description
    Object getLock​(T data)
    Gets the synchronization lock to hold while executing the models in the iterator.
    Iterator<Model<T>> iterator​(T data)
    Creates an iterator for the models to exec for the model data instance.
  • Method Details

    • getLock

      Object getLock​(T data)
      Gets the synchronization lock to hold while executing the models in the iterator.
      Parameters:
      data - model data
      Returns:
      synchronization lock to hold while executing the models in the iterator.
    • iterator

      Iterator<Model<T>> iterator​(T data)
      Creates an iterator for the models to exec for the model data instance.
      Parameters:
      data - model data
      Returns:
      iterator for the models to exec for the model data instance.