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 java.util.List;
26 import org.json.JSONObject;
28 import org.onap.dmaap.dmf.mr.backends.MetricsSet;
29 import com.att.nsa.metrics.CdmMeasuredItem;
31 public class MetricsSetImpl implements MetricsSet {
34 public List<? extends CdmMetricEntry> getEntries() {
35 // TODO Auto-generated method stub
40 public CdmMeasuredItem getItem(String arg0) {
41 // TODO Auto-generated method stub
46 public Map<String, CdmMeasuredItem> getItems() {
47 // TODO Auto-generated method stub
52 public void putItem(String arg0, CdmMeasuredItem arg1) {
53 // TODO Auto-generated method stub
58 public void removeItem(String arg0) {
59 // TODO Auto-generated method stub
65 // TODO Auto-generated method stub
70 public JSONObject toJson() {
71 // TODO Auto-generated method stub
76 public void setupCambriaSender() {
77 // TODO Auto-generated method stub
82 public void onRouteComplete(String name, long durationMs) {
83 // TODO Auto-generated method stub
88 public void publishTick(int amount) {
89 // TODO Auto-generated method stub
94 public void consumeTick(int amount) {
95 // TODO Auto-generated method stub
100 public void onKafkaConsumerCacheMiss() {
101 // TODO Auto-generated method stub
106 public void onKafkaConsumerCacheHit() {
107 // TODO Auto-generated method stub
112 public void onKafkaConsumerClaimed() {
113 // TODO Auto-generated method stub
118 public void onKafkaConsumerTimeout() {
119 // TODO Auto-generated method stub