/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. package com.hazelcast.impl.management;
  17. public final class ConsoleRequestConstants {
  18. public static final byte STATE_OUT_OF_MEMORY = 0;
  19. public static final byte STATE_ACTIVE = 1;
  20. public static final int REQUEST_TYPE_LOGIN = 0;
  21. public static final int REQUEST_TYPE_CLUSTER_STATE = 1;
  22. public static final int REQUEST_TYPE_GET_THREAD_DUMP = 2;
  23. public static final int REQUEST_TYPE_EXECUTE_SCRIPT = 3;
  24. public static final int REQUEST_TYPE_EVICT_LOCAL_MAP = 4;
  25. public static final int REQUEST_TYPE_CONSOLE_COMMAND = 5;
  26. public static final int REQUEST_TYPE_MAP_CONFIG = 6;
  27. public static final int REQUEST_TYPE_DETECT_DEADLOCK = 7;
  28. public static final int REQUEST_TYPE_MEMBER_CONFIG = 8;
  29. public static final int REQUEST_TYPE_CLUSTER_PROPERTIES = 9;
  30. public static final int REQUEST_TYPE_LOG_LEVEL= 10;
  31. public static final int REQUEST_TYPE_LOGS = 11;
  32. public static final int REQUEST_TYPE_MAP_ENTRY = 12;
  33. public static final int REQUEST_TYPE_MEMBER_SYSTEM_PROPERTIES = 13;
  34. public static final int REQUEST_TYPE_GET_VERSION = 14;
  35. public static final int REQUEST_TYPE_RUN_GC = 15;
  36. public static final int REQUEST_TYPE_SET_LOG_LEVEL = 16;
  37. public static final int REQUEST_TYPE_LOG_VERSION_MISMATCH = 17;
  38. public static final int REQUEST_TYPE_MEMBER_SHUTDOWN = 18;
  39. public static final int REQUEST_TYPE_MEMBER_RESTART = 19;
  40. private ConsoleRequestConstants() {
  41. }
  42. }