Interface DataSupplier<T extends PersistentData>

Type Parameters:
T - The type of data this supplier accepts. Must extend PersistentData.
All Known Subinterfaces:
DataStore<T>

public interface DataSupplier<T extends PersistentData>
A supplier interface that can supply data of type T which extends PersistentData.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next batch of data contained within this supplier.
  • Method Details

    • takeNext

      @Nonnull TransactionSet<T> takeNext() throws Exception
      Returns the next batch of data contained within this supplier.
      Returns:
      the next batch of data
      Throws:
      Exception - if an error occurs while retrieving the data