Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleExternalResourceDriver
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
languagejava
titleRuntimeContext
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
languagejava
titleExternalResourceDriver
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 {
}

...