summaryrefslogtreecommitdiffstats
path: root/src/org.gluster.storage.management.console/src/org/gluster/storage/management/console/preferences/PreferenceConstants.java
blob: 1422a77d83764430dcf5d6291839878251f2c622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2011 Gluster, Inc. <http://www.gluster.com>
 * This file is part of Gluster Management Console.
 *
 * Gluster Management Console is free software; you can redistribute it and/or 
 * modify it under the terms of the GNU Affero General Public License as published
 * by the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *  
 * Gluster Management Console is distributed in the hope that it will be useful, 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License
 * for more details.
 *  
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see
 * <http://www.gnu.org/licenses/>.
 *******************************************************************************/
package org.gluster.storage.management.console.preferences;

/**
 * Constant definitions for plug-in preferences
 */
public class PreferenceConstants {
	
	public static final String P_SHOW_CLUSTER_SELECTION_DIALOG = "show.cluster.selection.dialog";
	public static final String P_DEFAULT_CLUSTER_NAME = "default.cluster.name";
	public static final String P_DATA_SYNC_INTERVAL = "data.sync.interval";
	
	public static final String P_SERVER_CPU_CRITICAL_THRESHOLD = "server.cpu.threshold";
	public static final String P_SERVER_MEMORY_USAGE_THRESHOLD = "server.memory.threshold";
	public static final String P_DISK_SPACE_USAGE_THRESHOLD = "disk.space.threshold"; // in percentage

	public static final String P_CPU_CHART_PERIOD = "cpu.chart.period";
	public static final String P_MEM_CHART_PERIOD = "memory.chart.period";
	public static final String P_NETWORK_CHART_PERIOD = "network.chart.period";
	public static final String P_DEFAULT_NETWORK_INTERFACE_PFX = "default.network.interface.";
	public static final String P_CPU_AGGREGATED_CHART_PERIOD = "cpu.aggregated.chart.period";
	public static final String P_NETWORK_AGGREGATED_CHART_PERIOD = "network.aggregated.chart.period";
}