File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
server/src/main/java/org/opensearch
search/sandboxing/resourcetype Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 14
14
import java .util .Collections ;
15
15
import java .util .List ;
16
16
17
+ /*
18
+ Stub class only, this will be added in Kaushal's PR
19
+ This class wil be deleted after that.
20
+ * */
17
21
@ ExperimentalApi
18
22
public class Sandbox {
19
23
// TODO Kaushal should have implemented hashcode and equals
@@ -39,6 +43,10 @@ public List<ResourceLimit> getResourceLimits() {
39
43
return Collections .emptyList ();
40
44
}
41
45
46
+ /*
47
+ Stub class only, this will be added in Kaushal's PR
48
+ This class wil be deleted after that.
49
+ * */
42
50
@ ExperimentalApi
43
51
public class ResourceLimit {
44
52
public Long getThresholdInLong () {
@@ -54,6 +62,10 @@ public Long getThreshold() {
54
62
}
55
63
}
56
64
65
+ /*
66
+ Stub class only, this will be added in Kaushal's PR
67
+ This class wil be deleted after that.
68
+ */
57
69
@ ExperimentalApi
58
70
public enum SandboxMode {
59
71
SOFT ("soft" ),
Original file line number Diff line number Diff line change 6
6
* compatible open source license.
7
7
*/
8
8
9
+ /**
10
+ * Package for Sandbox Resource Types
11
+ */
9
12
package org .opensearch .search .sandboxing .resourcetype ;
You can’t perform that action at this time.
0 commit comments