THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
public interface ExternalResourceDriverFactory { /** * Construct the ExternalResourceDriver from configuration. */ ExternalResourceDriver createExternalResourceDriver(Congiuration config); } public interface ExternalResourceDriver { /** * Retrieve the information of the external resources according to the amount. */ Set<ExternalResourceInfo>Set<? extends ExternalResourceInfo> retrieveResourceInfo(long amount); } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
public interface RuntimeContext { /** * Get the external resource information. Index by the resource name defined in "external-resource.list". */ Map<String, Set<ExternalResourceInfo>>Set<? extends ExternalResourceInfo>> getExternalResourceInfo(); } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
public interface ExternalResourceDriverFactory { /** * Construct the ExternalResourceDriver from configuration. */ ExternalResourceDriver createExternalResourceDriver(Congiuration config); } public interface ExternalResourceDriver { /** * Retrieve the information of the external resources according to the amount. */ Set<? extends Set<ExternalResourceInfo>ExternalResourceInfo> retrieveResourceInfo(long amount); } public interface ExternalResourceInfo { } |
...