File tree 3 files changed +5
-5
lines changed
src/main/java/com/wizecore/metrics
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Maven repository is created using [jitpack.io](https://jitpack.io/) [ {
177
177
178
178
public static String getValue (String name ) {
179
179
init ();
180
- RBucket <String > b = redis .getBucket (name );
180
+ RBucket <String > b = redis .getBucket (metricPrefix + name );
181
181
return b .isExists () ? b .get () : null ;
182
182
}
183
183
184
184
public static void setValue (String name , String value ) {
185
185
init ();
186
- RBucket <String > b = redis .getBucket (name );
186
+ RBucket <String > b = redis .getBucket (metricPrefix + name );
187
187
b .set (value );
188
188
}
189
189
190
190
191
191
public static RBucket <String > getBucket (String name ) {
192
192
init ();
193
- return redis .getBucket (name );
193
+ return redis .getBucket (metricPrefix + name );
194
194
}
195
195
196
196
public static String getRedisConfig () {
You can’t perform that action at this time.
0 commit comments