Skip to content

Commit

Permalink
javadocs
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Prakash <[email protected]>
  • Loading branch information
kiranprakash154 committed May 30, 2024
1 parent 2b542a6 commit 7ae0005
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions server/src/main/java/org/opensearch/cluster/metadata/Sandbox.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
import java.util.Collections;
import java.util.List;

/*
Stub class only, this will be added in Kaushal's PR
This class wil be deleted after that.
* */
/**
* Stub class only, this will be added in Kaushal's PR
* This class wil be deleted after that.
*/
@ExperimentalApi
public class Sandbox {
// TODO Kaushal should have implemented hashcode and equals
Expand All @@ -43,12 +43,15 @@ public List<ResourceLimit> getResourceLimits() {
return Collections.emptyList();
}

/*
Stub class only, this will be added in Kaushal's PR
This class wil be deleted after that.
* */
/**
* Stub class only, this will be added in Kaushal's PR
* This class wil be deleted after that.
*/
@ExperimentalApi
public class ResourceLimit {
/*
Stub class only
*/
public Long getThresholdInLong() {
return 0L;
}
Expand All @@ -62,10 +65,10 @@ public Long getThreshold() {
}
}

/*
Stub class only, this will be added in Kaushal's PR
This class wil be deleted after that.
*/
/**
* Stub class only, this will be added in Kaushal's PR
* This class wil be deleted after that.
*/
@ExperimentalApi
public enum SandboxMode {
SOFT("soft"),
Expand Down Expand Up @@ -94,6 +97,5 @@ public static SandboxMode fromName(String s) {
throw new IllegalArgumentException("Invalid value for SandboxMode: " + s);
}
}

}
}

0 comments on commit 7ae0005

Please sign in to comment.