2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.dmaap.mr.cambria.backends.kafka;
23 import com.att.nsa.metrics.CdmMeasuredItem;
24 import org.json.JSONObject;
25 import org.onap.dmaap.dmf.mr.backends.MetricsSet;
27 import java.util.List;
30 public class MetricsSetImpl implements MetricsSet {
33 public List<? extends CdmMetricEntry> getEntries() {
34 // TODO Auto-generated method stub
39 public CdmMeasuredItem getItem(String arg0) {
40 // TODO Auto-generated method stub
45 public Map<String, CdmMeasuredItem> getItems() {
46 // TODO Auto-generated method stub
51 public void putItem(String arg0, CdmMeasuredItem arg1) {
52 // TODO Auto-generated method stub
57 public void removeItem(String arg0) {
58 // TODO Auto-generated method stub
64 // TODO Auto-generated method stub
69 public JSONObject toJson() {
70 // TODO Auto-generated method stub
75 public void setupCambriaSender() {
76 // TODO Auto-generated method stub
81 public void onRouteComplete(String name, long durationMs) {
82 // TODO Auto-generated method stub
87 public void publishTick(int amount) {
88 // TODO Auto-generated method stub
93 public void consumeTick(int amount) {
94 // TODO Auto-generated method stub
99 public void onKafkaConsumerCacheMiss() {
100 // TODO Auto-generated method stub
105 public void onKafkaConsumerCacheHit() {
106 // TODO Auto-generated method stub
111 public void onKafkaConsumerClaimed() {
112 // TODO Auto-generated method stub
117 public void onKafkaConsumerTimeout() {
118 // TODO Auto-generated method stub