Interface DataSupplier<T extends PersistentData>
- Type Parameters:
T- The type of data this supplier accepts. Must extendPersistentData.
- 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 TypeMethodDescriptiontakeNext()Returns the next batch of data contained within this supplier.
-
Method Details
-
takeNext
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
-