Package org.apache.storm.container.oci
Interface OciResourcesLocalizerInterface
-
- All Known Implementing Classes:
HdfsOciResourcesLocalizer
public interface OciResourcesLocalizerInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
init(Map<String,Object> conf)
default List<String>
localize(List<OciResource> resourceList)
Localize a list of oci resources.String
localize(OciResource ociResource)
Localize the oci resource.
-
-
-
Method Detail
-
init
void init(Map<String,Object> conf) throws IOException
- Throws:
IOException
-
localize
String localize(OciResource ociResource) throws IOException
Localize the oci resource.- Parameters:
ociResource
- the oci resource to be localized- Returns:
- the destination of the localized resource.
- Throws:
IOException
- on I/O exception
-
localize
default List<String> localize(List<OciResource> resourceList) throws IOException
Localize a list of oci resources.- Parameters:
resourceList
- a list of oci resources.- Returns:
- a list of destinations.
- Throws:
IOException
- on I/O exception
-
-