@PublicEvolving public interface ExternalResourceDriver
Drivers that should be instantiated via a ExternalResourceDriverFactory
.
TaskExecutor will retrieve the ExternalResourceInfo
set of the external resource from
the drivers.
Modifier and Type | Method and Description |
---|---|
Set<? extends ExternalResourceInfo> |
retrieveResourceInfo(long amount)
Retrieve the information of the external resources according to the amount.
|
Set<? extends ExternalResourceInfo> retrieveResourceInfo(long amount) throws Exception
amount
- of the required external resourcesException
- if there is something wrong during retrievingCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.