Commit 01d424ef authored by Bill Wang's avatar Bill Wang
Browse files

update

parent 48077a66
...@@ -32,11 +32,11 @@ public class IndexCacheImpl implements IIndexCache<String, Boolean>, AutoCloseab ...@@ -32,11 +32,11 @@ public class IndexCacheImpl implements IIndexCache<String, Boolean>, AutoCloseab
private ICache<String, Boolean> cache; private ICache<String, Boolean> cache;
private Boolean local; private Boolean local;
@Value("${aws.elasticache.cluster.endpoint:null}") @Value("${aws.elasticache.cluster.endpoint}")
String REDIS_SEARCH_HOST; String REDIS_SEARCH_HOST;
@Value("${aws.elasticache.cluster.port:null}") @Value("${aws.elasticache.cluster.port}")
String REDIS_SEARCH_PORT; String REDIS_SEARCH_PORT;
@Value("${aws.elasticache.cluster.key:null}") @Value("${aws.elasticache.cluster.key}")
String REDIS_SEARCH_KEY; String REDIS_SEARCH_KEY;
@Value("${aws.elasticache.cluster.index.expiration}") @Value("${aws.elasticache.cluster.index.expiration}")
String INDEX_CACHE_EXPIRATION; String INDEX_CACHE_EXPIRATION;
......
...@@ -29,11 +29,11 @@ import java.util.Map; ...@@ -29,11 +29,11 @@ import java.util.Map;
@Component @Component
public class SchemaCacheImpl implements ISchemaCache<String, String>, AutoCloseable { public class SchemaCacheImpl implements ISchemaCache<String, String>, AutoCloseable {
@Value("${aws.elasticache.cluster.endpoint:null}") @Value("${aws.elasticache.cluster.endpoint}")
String REDIS_SEARCH_HOST; String REDIS_SEARCH_HOST;
@Value("${aws.elasticache.cluster.port:null}") @Value("${aws.elasticache.cluster.port}")
String REDIS_SEARCH_PORT; String REDIS_SEARCH_PORT;
@Value("${aws.elasticache.cluster.key:null}") @Value("${aws.elasticache.cluster.key}")
String REDIS_SEARCH_KEY; String REDIS_SEARCH_KEY;
@Value("${aws.elasticache.cluster.schema.expiration:60}") @Value("${aws.elasticache.cluster.schema.expiration:60}")
String SCHEMA_CACHE_EXPIRATION; String SCHEMA_CACHE_EXPIRATION;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment