Skip to content

Commit 4ef0081

Browse files
author
majin.nathan
committed
Improve comment of InternalResourceContainer
1 parent 5191c21 commit 4ef0081

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

amoro-common/src/main/java/org/apache/amoro/resource/InternalResourceContainer.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
package org.apache.amoro.resource;
2020

2121
/**
22-
* Interface of internal resource container. For InternalResourceContainer, resources are managed by
23-
* AMS. Resources are decoupled from processes. For ExternalResourceContainer, resources are managed
24-
* outside, and each single resource belonged to a process.
22+
* The interface of internal resource container For {@link InternalResourceContainer}, resources are
23+
* managed by AMS, and resources are decoupled from processes, which means one process could run any
24+
* number of resources and a resource could run any number of processes. For {@link
25+
* ExternalResourceContainer} resources are managed outside(by some JobManager or application
26+
* master), resources and processes are one-to-one mapping.
2527
*/
2628
public interface InternalResourceContainer extends ResourceContainer {
2729

0 commit comments

Comments
 (0)