1 46 package org.mr; 47 55 public class MantaAgentConstants { 56 60 public static final byte HIGH = 9; 61 65 public static final byte NORMAL = 5; 66 70 public static final byte LOW = 0; 71 72 75 76 79 public static final byte PERSISTENT = 2; 80 83 public static final byte NON_PERSISTENT = 1; 84 85 public static final int AGENT_DEFAULT_PRIORITY = NORMAL; 86 87 90 public static final byte AGENT_DEFAULT_DELIVERY_MODE = NON_PERSISTENT; 91 92 95 98 public static final byte NO_ACK = 66; 99 102 public static final byte AUTO_ACK = 1; 103 106 public static final byte CLIENT_ACK = 2; 107 108 111 public static final byte DUPLICATE_ACK = 3; 112 113 116 118 public static final byte DEFAULT_ACK_TYPE = AUTO_ACK; 119 120 123 public static final long DEFAULT_TTL = 60000; 124 127 public static final short TOTAL_PRIORITIES = 10; 128 131 public static final boolean DEFAULT_PERSISTENCY_BLOCKING_MODE = true; 132 133 136 public static final String MANTA_CONFIG = "mantaConfig"; 137 138 public static final String USE_MANTA_LOG4J = "useMantarayLog4j"; 139 140 141 145 public final static long ACK_TTL = 60000; 146 149 public final static long CONTROL_MESSAGES_TTL = 600000; 150 151 152 156 public final static byte DEBUG = 0; 157 160 public final static byte INFO = 10; 161 164 public final static byte WARNING = 20; 165 168 public final static byte ERROR = 30; 169 172 public final static byte FATAL = 40; 173 174 175 } 176 | Popular Tags |