Compare commits

..

2 Commits

Author SHA1 Message Date
31353 cd6149c805 Merge remote-tracking branch 'origin/master' 2024-04-21 20:54:55 +08:00
31353 63701d10d7 4-21-1 2024-04-21 20:54:40 +08:00
2 changed files with 7 additions and 3 deletions

View File

@ -46,4 +46,9 @@ public class CacheConstants {
* ID
*/
public final static String GATEWAY_VEHICLE_LINE= "gateway:vehicleLine:";
/**
*
*/
public final static String GATEWAY_REDUCED_CACHE= "reduced:cache:";
}

View File

@ -1,6 +1,7 @@
package com.guo.gateway.cache;
import com.guo.common.constant.CacheConstants;
import com.guo.common.constant.LoadConstants;
import com.guo.gateway.cache.abs.CacheAbs;
import org.springframework.stereotype.Component;
@ -17,11 +18,9 @@ import java.util.concurrent.TimeUnit;
@Component
public class NodeReduced extends CacheAbs<String> {
@Override
public String getPre() {
return "reduced:cache:";
return CacheConstants.GATEWAY_REDUCED_CACHE;
}
/**