Java Code Examples for net.spy.memcached.DefaultConnectionFactory#DEFAULT_METRIC_TYPE
The following examples show how to use
net.spy.memcached.DefaultConnectionFactory#DEFAULT_METRIC_TYPE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MemcachedConnectionFactory.java From kylin-on-parquet-v2 with Apache License 2.0 | 4 votes |
@Override public MetricType enableMetrics() { String metricType = metricsConfig.get("memcached.metricstype"); return metricType == null ? DefaultConnectionFactory.DEFAULT_METRIC_TYPE : MetricType.valueOf(metricType.toUpperCase(Locale.ROOT)); }
Example 2
Source File: MemcachedConnectionFactory.java From kylin with Apache License 2.0 | 4 votes |
@Override public MetricType enableMetrics() { String metricType = metricsConfig.get("memcached.metricstype"); return metricType == null ? DefaultConnectionFactory.DEFAULT_METRIC_TYPE : MetricType.valueOf(metricType.toUpperCase(Locale.ROOT)); }