Interface StaticOptimizations.Loader<T>

  • Type Parameters:
    T - the type of the optimization
    Enclosing class:
    StaticOptimizations
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface StaticOptimizations.Loader<T>
    Interface for an optimization which will be injected via service loading.
    Since:
    3.3.0
    • Method Detail

      • load

        T load()
        The static optimization to be injected. The StaticOptimizations.set(Object) method will automatically be called with the value returned by this method.
        Returns:
        the optimization value.