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.openecomp.sdc.common.datastructure;
23 import java.util.Date;
25 public enum MonitoringFieldsKeysEnum {
26 MONITORING_TIMESTAMP(Date.class, "TIMESTAMP"),
27 MONITORING_HOST_IP(String.class, "HOST_IP"),
28 MONITORING_HOST_CPU(Long.class, "HOST_CPU"),
29 MONITORING_HOST_MEM(Long.class, "HOST_MEMORY"),
30 MONITORING_HOST_DISC(Long.class, "HOST_DISC"),
31 MONITORING_JVM_ID(String.class, "JVM_ID"),
32 MONITORING_JVM_CPU(Long.class, "JVM_CPU"),
33 MONITORING_JVM_MEM(Long.class, "JVM_MEMORY"),
34 MONITORING_JVM_TNUM(Long.class, "JVM_TNUM"),
35 MONITORING_APP_ID(String.class, "APP_ID"),
36 MONITORING_APP_STAT(String.class, "APP_STAT");
38 private Class<?> clazz;
39 private String displayName;
41 MonitoringFieldsKeysEnum(Class<?> clazz, String displayName) {
43 this.displayName = displayName;
46 public Class<?> getValueClass() {
50 public String getDisplayName() {
54 public void setDisplayName(String displayName) {
55 this.displayName = displayName;