PageRenderTime 26ms CodeModel.GetById 7ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/hazelcast/src/main/java/com/hazelcast/impl/management/ConsoleRequestConstants.java

https://bitbucket.org/gabral6_gmailcom/hazelcast
Java | 46 lines | 27 code | 4 blank | 15 comment | 0 complexity | fb91175e8d04b9042711d7c9e3a03eda MD5 | raw file
 1/*
 2 * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
 3 *
 4 * Licensed under the Apache License, Version 2.0 (the "License");
 5 * you may not use this file except in compliance with the License.
 6 * You may obtain a copy of the License at
 7 *
 8 * http://www.apache.org/licenses/LICENSE-2.0
 9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.hazelcast.impl.management;
18
19public final class ConsoleRequestConstants {
20
21    public static final byte STATE_OUT_OF_MEMORY = 0;
22    public static final byte STATE_ACTIVE = 1;
23
24    public static final int REQUEST_TYPE_LOGIN = 0;
25    public static final int REQUEST_TYPE_CLUSTER_STATE = 1;
26    public static final int REQUEST_TYPE_GET_THREAD_DUMP = 2;
27    public static final int REQUEST_TYPE_EXECUTE_SCRIPT = 3;
28    public static final int REQUEST_TYPE_EVICT_LOCAL_MAP = 4;
29    public static final int REQUEST_TYPE_CONSOLE_COMMAND = 5;
30    public static final int REQUEST_TYPE_MAP_CONFIG = 6;
31    public static final int REQUEST_TYPE_DETECT_DEADLOCK = 7;
32    public static final int REQUEST_TYPE_MEMBER_CONFIG = 8;
33    public static final int REQUEST_TYPE_CLUSTER_PROPERTIES = 9;
34    public static final int REQUEST_TYPE_LOG_LEVEL= 10;
35    public static final int REQUEST_TYPE_LOGS = 11;
36    public static final int REQUEST_TYPE_MAP_ENTRY = 12;
37    public static final int REQUEST_TYPE_MEMBER_SYSTEM_PROPERTIES = 13;
38    public static final int REQUEST_TYPE_GET_VERSION = 14;
39    public static final int REQUEST_TYPE_RUN_GC = 15;
40    public static final int REQUEST_TYPE_SET_LOG_LEVEL = 16;
41    public static final int REQUEST_TYPE_LOG_VERSION_MISMATCH = 17;
42    public static final int REQUEST_TYPE_MEMBER_SHUTDOWN = 18;
43    public static final int REQUEST_TYPE_MEMBER_RESTART = 19;
44    private ConsoleRequestConstants() {
45    }
46}