From f56a86fa80ddef349317b95a8a4d7905b3f77f5d Mon Sep 17 00:00:00 2001 From: zhijie wang <wanzhiji@amazon.com> Date: Mon, 23 Aug 2021 07:58:34 -0700 Subject: [PATCH] rename --- .../org/opengroup/osdu/indexer/aws/cache/SchemaCacheImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/provider/indexer-aws/src/main/java/org/opengroup/osdu/indexer/aws/cache/SchemaCacheImpl.java b/provider/indexer-aws/src/main/java/org/opengroup/osdu/indexer/aws/cache/SchemaCacheImpl.java index ae300d950..8672d8b62 100644 --- a/provider/indexer-aws/src/main/java/org/opengroup/osdu/indexer/aws/cache/SchemaCacheImpl.java +++ b/provider/indexer-aws/src/main/java/org/opengroup/osdu/indexer/aws/cache/SchemaCacheImpl.java @@ -15,7 +15,7 @@ package org.opengroup.osdu.indexer.aws.cache; import com.fasterxml.jackson.core.JsonProcessingException; -import org.opengroup.osdu.core.aws.cache.AwsElasticCache; +import org.opengroup.osdu.core.aws.cache.AwRedisCache; import org.opengroup.osdu.core.aws.ssm.K8sParameterNotFoundException; import org.opengroup.osdu.core.common.cache.ICache; import org.opengroup.osdu.core.common.cache.RedisCache; @@ -29,7 +29,7 @@ public class SchemaCacheImpl implements ISchemaCache<String, String>, AutoClosea private ICache<String, String> cache; private Boolean local = false; public SchemaCacheImpl(@Value("${aws.elasticache.cluster.schema.expiration}") final String SCHEMA_CACHE_EXPIRATION) throws K8sParameterNotFoundException, JsonProcessingException { - cache = AwsElasticCache.RedisCache(Integer.parseInt(SCHEMA_CACHE_EXPIRATION) * 60, String.class, String.class); + cache = AwsRedisCache.RedisCache(Integer.parseInt(SCHEMA_CACHE_EXPIRATION) * 60, String.class, String.class); if (cache.getClass() == RedisCache.class){ local = false; }else{ -- GitLab