package tech.powerjob.common.utils; /** * Represents a supplier of results. * *

There is no requirement that a new or distinct result be returned each * time the supplier is invoked. * *

This is a functional interface * whose functional method is {@link #get()}. * * @param the type of results supplied by this supplier * * @author tjq * @since 2020/3/26 */ @FunctionalInterface public interface SupplierPlus { /** * Gets a result. * @return a result * @throws Exception allow to throw Exception */ T get() throws Exception; }