Interface ExternalResourceDriver
-
@PublicEvolving public interface ExternalResourceDriverDriver which takes the responsibility to manage and provide the information of external resource.Drivers that should be instantiated via a
ExternalResourceDriverFactory.TaskExecutor will retrieve the
ExternalResourceInfoset of the external resource from the drivers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<? extends ExternalResourceInfo>retrieveResourceInfo(long amount)Retrieve the information of the external resources according to the amount.
-
-
-
Method Detail
-
retrieveResourceInfo
Set<? extends ExternalResourceInfo> retrieveResourceInfo(long amount) throws Exception
Retrieve the information of the external resources according to the amount.- Parameters:
amount- of the required external resources- Returns:
- information set of the required external resources
- Throws:
Exception- if there is something wrong during retrieving
-
-