常量字段值


目录
com.taobao.*

com.taobao.common.store.journal.JournalStore
protected static final int DEFAULT_MAX_BATCH_SIZE 4194304
public static final int FILE_SIZE 67108864
public static final int HALF_DAY 43200000

com.taobao.common.store.journal.OpItem
public static final int KEY_LENGTH 16
public static final int LENGTH 33
public static final byte OP_ADD 1
public static final byte OP_DEL 2

com.taobao.common.store.journal.impl.OpItemEntry
public static final int SIZE 34

com.taobao.common.store.journal.impl.OpItemHashMap
public static final int DEFAULT_CAPACITY 256

com.taobao.metamorphosis.client.consumer.storage.MysqlOffsetStorage
public static final String DEFAULT_TABLE_NAME "meta_topic_partition_group_offset"

com.taobao.metamorphosis.client.extension.producer.LocalMessageStorageManager
protected static final String SPLIT "@"

com.taobao.metamorphosis.client.producer.SimpleMessageProducer
protected static final long DEFAULT_OP_TIMEOUT 3000L

com.taobao.metamorphosis.client.producer.XAMessageProducer
public static final String DEFAULT_UNIQUE_QUALIFIER_PREFIX "XAMessageProducer"

com.taobao.metamorphosis.metaslave.SlaveStatsManager
public static final String SLAVE_CMD_PUT "put_slave"

com.taobao.metamorphosis.network.ByteUtils
public static final String DEFAULT_CHARSET_NAME "utf-8"

com.taobao.metamorphosis.network.HttpStatus
public static final int BadRequest 400
public static final int Forbidden 403
public static final int GatewayTimeout 504
public static final int InternalServerError 500
public static final int Moved 301
public static final int NotFound 404
public static final int ServiceUnavilable 503
public static final int Success 200
public static final int Unauthorized 401

com.taobao.metamorphosis.network.MetaEncodeCommand
public static final String GET_CMD "get"
public static final String OFFSET_CMD "offset"
public static final String PUT_CMD "put"
public static final String QUIT_CMD "quit"
public static final String RESULT_CMD "result"
public static final byte SPACE 32
public static final String STATS_CMD "stats"
public static final String SYNC_CMD "sync"
public static final String TRANS_CMD "transaction"
public static final String VALUE_CMD "value"
public static final String VERSION_CMD "version"

com.taobao.metamorphosis.network.MetamorphosisWireFormatType
public static final String SCHEME "meta"

com.taobao.metamorphosis.server.store.ArchiveDeletePolicy
public static final String NAME "archive"

com.taobao.metamorphosis.server.store.DeleteJob
public static final String STORE_MGR "messageStoreManager"
public static final String TOPICS "topics"

com.taobao.metamorphosis.server.store.DiscardDeletePolicy
public static final String NAME "delete"

com.taobao.metamorphosis.server.store.MessageStoreManager
public static final int HALF_DAY 43200000

com.taobao.metamorphosis.server.transaction.Transaction
public static final byte FINISHED_STATE 3
public static final byte HEURISTIC_COMMIT_STATE 4
public static final byte HEURISTIC_COMPLETE_STATE 6
public static final byte HEURISTIC_ROLLBACK_STATE 5
public static final byte IN_USE_STATE 1
public static final byte PREPARED_STATE 2
public static final byte START_STATE 0

com.taobao.metamorphosis.server.transaction.store.JournalTransactionStore.TxOperation
public static final byte ADD_OP 0

com.taobao.metamorphosis.server.transaction.store.TransactionCommands.AppendMessageCommand
public static final int MESSAGE_ID_FIELD_NUMBER 1
public static final int PUT_COMMAND_FIELD_NUMBER 2

com.taobao.metamorphosis.server.transaction.store.TransactionCommands.TransactionOperation
public static final int DATA_LENGTH_FIELD_NUMBER 4
public static final int TRANSACTION_ID_FIELD_NUMBER 3
public static final int TYPE_FIELD_NUMBER 1
public static final int WAS_PREPARED_FIELD_NUMBER 2

com.taobao.metamorphosis.server.transaction.store.TransactionCommands.TransactionType
public static final int LOCAL_COMMIT_VALUE 4
public static final int LOCAL_ROLLBACK_VALUE 5
public static final int XA_COMMIT_VALUE 2
public static final int XA_PREPARE_VALUE 1
public static final int XA_ROLLBACK_VALUE 3

com.taobao.metamorphosis.server.transaction.store.TransactionCommands.TxCommand
public static final int CMD_CONTENT_FIELD_NUMBER 2
public static final int CMDTYPE_FIELD_NUMBER 1
public static final int FORCE_FIELD_NUMBER 3

com.taobao.metamorphosis.server.transaction.store.TransactionCommands.TxCommandType
public static final int APPEND_MSG_VALUE 1
public static final int TX_OP_VALUE 2

com.taobao.metamorphosis.storm.spout.MetaSpout
public static final int DEFAULT_MAX_SIZE 131072
public static final String FETCH_MAX_SIZE "meta.fetch.max_size"
public static final String TOPIC "meta.topic"
public static final long WAIT_FOR_NEXT_MESSAGE 1L

com.taobao.metamorphosis.tools.monitor.core.MonitorConfig
public static final String DEFAULT_CONFIG_FILE "monitor.properties"
public static final String DEFAULT_CONFIG_INI "monitor.ini"
public static final String DYNAMIC_CONFIG_FILE "dynamic.properties"

com.taobao.metamorphosis.tools.shell.ShellTool
protected static final String METACONFIG_NAME "com.taobao.metamorphosis.server.utils:type=MetaConfig,*"

com.taobao.metamorphosis.tools.shell.SlaveResubscribe
protected static final String HANDLE_NANE "com.taobao.metamorphosis.metaslave:type=SubscribeHandler,*"

com.taobao.metamorphosis.tools.shell.SlaveStatus
protected static final String HANDLE_NANE "com.taobao.metamorphosis.metaslave:type=SubscribeHandler,*"

com.taobao.metamorphosis.tools.shell.StopBrokerTool
protected static final String METABROKER_NAME "com.taobao.metamorphosis.server.assembly:type=MetaMorphosisBroker,*"

com.taobao.metamorphosis.tools.utils.ConsoleConstant
public static final String CPU_LOAD "cpu load"
public static final String CPU_LOAD_CMD "uptime"
public static final String CPU_LOAD_NAME "cpuLoad"
public static final String DISK "disk used"
public static final String DISK_CMD "df -h | grep home"
public static final String DISK_NAME "disk"
public static final String DUMMY "dummy"
public static final String MEM "memory used"
public static final String MEM_NAME "memory"
public static final String NETWORK_CMD "/sbin/ifconfig eth0 | grep bytes"
public static final String RX_NETWORK "RX network used"
public static final String RX_NETWORK_NAME "rxNetwork"
public static final String TX_NETWORK "TX network used"
public static final String TX_NETWORK_NAME "txNetwork"

com.taobao.metamorphosis.utils.DiamondUtils
public static final String DEFAULT_PARTITIONS_DATAID "metamorphosis.partitions"
public static final String DEFAULT_ZK_DATAID "metamorphosis.zkConfig"

com.taobao.metamorphosis.utils.MessageUtils
public static final int HEADER_LEN 20

com.taobao.metamorphosis.utils.StatConstants
public static final String CMD_GET "get"
public static final String CMD_OFFSET "offset"
public static final String CMD_PUT "put"
public static final String GET_FAILED "get_failed"
public static final String GET_FAILED_STAT "cli_get_failed"
public static final String GET_MISS "get_miss"
public static final String GET_MSG_COUNT_STAT "cli_get_msg_count"
public static final String GET_TIME_STAT "cli_get_timeout"
public static final String INVALID_MSG_STAT "cli_invalid_message"
public static final String MESSAGE_SIZE "message_size"
public static final String OFFSET_FAILED_STAT "cli_offset_failed"
public static final String OFFSET_TIME_STAT "cli_offset_timeout"
public static final String PUT_FAILED "put_failed"
public static final String PUT_RETRY_STAT "cli_put_retry"
public static final String PUT_TIME_STAT "cli_put_time"
public static final String PUT_TIMEOUT_STAT "cli_put_timeout"
public static final String SKIP_MSG_COUNT "cli_skip_msg_count"
public static final String TX_BEGIN "txBegin"
public static final String TX_COMMIT "txCommit"
public static final String TX_END "txEnd"
public static final String TX_PREPARE "txPrepare"
public static final String TX_ROLLBACK "txRollback"
public static final String TX_TIME "txExecTime"

com.taobao.metamorphosis.utils.URIUtils
public static final String DEFAULT_CONTENT_CHARSET "ISO_8859_1"

com.taobao.metamorphosis.utils.monitor.MonitorConstants
public static final String APP_FILE_NAME "monitor.app."
public static final String DATE_FORMAT "yyyy-MM-dd HH:mm:ss"
public static final String FILE_SUFFIX ".log"
public static final String GBK "GBK"
public static final String KEY_LEVEL_CPU "CPU"
public static final String KEY_LEVEL_JVM "JVM"
public static final String KEY_LEVEL_MEMORY "MEMORY"
public static final String KEY_LEVEL_SITUATION "SITUATION"
public static final String KEY_LEVEL_THREAD "THREAD"
public static final String KEY_LEVEL_TOTAL "TOTAL"
public static final String KEY_LEVEL_USAGE "USAGE"
public static final String LOG_STAT_NAME_STAT_LOG "log-monitor:name=monitor-client"
public static final String M "%m"
public static final String M_N "%m%n"
public static final String MIDDLEWARE_FILE_NAME "monitor.middleware."
public static final String SPLITTER_1 "\u0001"
public static final String SPLITTER_2 "\u0002"
public static final String USER_HOME "user.home"
public static final String WRITETHREAD_NAME "LOGSTAT-WRITE"
public static final String YYYY_MM_DD "\'.\'yyyy-MM-dd"

com.taobao.metamorphosis.utils.monitor.ValueObject
public static final int NUM_VALUES 2



Copyright © 2010–2013. All rights reserved.