forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrating onHeap store aware cache with IRC
Signed-off-by: Sagar Upadhyaya <[email protected]>
- Loading branch information
Showing
2 changed files
with
93 additions
and
23 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
server/src/main/java/org/opensearch/common/cache/CacheType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
|
||
package org.opensearch.common.cache; | ||
|
||
public enum CacheType { | ||
|
||
ON_HEAP("on_heap"), | ||
TIERED("tiered"); | ||
|
||
private final String cacheType; | ||
|
||
CacheType(String cacheType) { | ||
this.cacheType = cacheType; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters