Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B1379200C5C for ; Thu, 6 Apr 2017 06:36:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AFE67160BA3; Thu, 6 Apr 2017 04:36:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 03177160B94 for ; Thu, 6 Apr 2017 06:36:00 +0200 (CEST) Received: (qmail 7278 invoked by uid 500); 6 Apr 2017 04:36:00 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 7258 invoked by uid 99); 6 Apr 2017 04:35:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2017 04:35:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A7882DFC8E; Thu, 6 Apr 2017 04:35:59 +0000 (UTC) From: joshelser To: dev@accumulo.apache.org Reply-To: dev@accumulo.apache.org References: In-Reply-To: Subject: [GitHub] accumulo pull request #242: ACCUMULO-2181/3005 REST API and new Monitor UI Content-Type: text/plain Message-Id: <20170406043559.A7882DFC8E@git1-us-west.apache.org> Date: Thu, 6 Apr 2017 04:35:59 +0000 (UTC) archived-at: Thu, 06 Apr 2017 04:36:01 -0000 Github user joshelser commented on a diff in the pull request: https://github.com/apache/accumulo/pull/242#discussion_r110075168 --- Diff: server/monitor/src/main/java/org/apache/accumulo/monitor/rest/gc/GarbageCollection.java --- @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.accumulo.monitor.rest.gc; + +import org.apache.accumulo.core.gc.thrift.GcCycleStats; + +/** + * + * GarbageCollection is responsible for creating the gc JSON object + * + * @since 2.0.0 + * + */ +public class GarbageCollection { + + public static final GarbageCollection EMPTY = new GarbageCollection(); --- End diff -- nit: make this private and expose it through a public static method. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---