SYMBOL INDEX (309 symbols across 31 files) FILE: example/logger.js method info (line 4) | info() {} method warn (line 5) | warn() {} method error (line 6) | error(...args) { method debug (line 9) | debug() {} FILE: lib/channel.js class Channel (line 9) | class Channel extends Base { method constructor (line 19) | constructor(address, options = {}) { method accessKey (line 34) | get accessKey() { method secretKey (line 38) | get secretKey() { method onsChannel (line 42) | get onsChannel() { method getBodyLength (line 51) | getBodyLength(header) { method decode (line 55) | decode(body, header) { method beforeRequest (line 64) | beforeRequest(command) { method invoke (line 106) | invoke(command, timeout) { method invokeOneway (line 126) | invokeOneway(command) { FILE: lib/client_config.js class ClientConfig (line 28) | class ClientConfig extends Base { method constructor (line 39) | constructor(options) { method clientId (line 44) | get clientId() { method pollNameServerInteval (line 50) | get pollNameServerInteval() { method heartbeatBrokerInterval (line 54) | get heartbeatBrokerInterval() { method persistConsumerOffsetInterval (line 58) | get persistConsumerOffsetInterval() { method rebalanceInterval (line 62) | get rebalanceInterval() { method unitMode (line 66) | get unitMode() { method unitName (line 70) | get unitName() { method namespace (line 74) | get namespace() { method formatTopic (line 78) | formatTopic(topic) { method changeInstanceNameToPID (line 89) | changeInstanceNameToPID() { FILE: lib/consumer/mq_push_consumer.js class MQPushConsumer (line 53) | class MQPushConsumer extends ClientConfig { method constructor (line 54) | constructor(options) { method logger (line 84) | get logger() { method subscriptions (line 88) | get subscriptions() { method processQueueTable (line 92) | get processQueueTable() { method parallelConsumeLimit (line 96) | get parallelConsumeLimit() { method consumerGroup (line 100) | get consumerGroup() { method messageModel (line 107) | get messageModel() { method consumeType (line 111) | get consumeType() { method consumeFromWhere (line 115) | get consumeFromWhere() { method allocateMessageQueueStrategy (line 119) | get allocateMessageQueueStrategy() { method init (line 123) | async init() { method close (line 154) | async close() { method newOffsetStoreInstance (line 168) | newOffsetStoreInstance() { method subscribe (line 185) | subscribe(topic, subExpression, handler) { method _consumeMessageLoop (line 227) | async _consumeMessageLoop(topic, needFilter, tagsSet, subExpression) { method consumeSingleMsg (line 277) | async consumeSingleMsg(handler, msg, mq, pq) { method buildSubscriptionData (line 330) | buildSubscriptionData(consumerGroup, topic, subString) { method persistConsumerOffset (line 357) | async persistConsumerOffset() { method pullMessageQueue (line 373) | pullMessageQueue(messageQueue, processQueue) { method executePullRequestImmediately (line 406) | async executePullRequestImmediately(messageQueue) { method pullKernelImpl (line 485) | async pullKernelImpl(messageQueue, subExpression, expressionType, subV... method findBrokerAddress (line 521) | async findBrokerAddress(messageQueue) { method recalculatePullFromWhichNode (line 533) | recalculatePullFromWhichNode(messageQueue) { method correctTagsOffset (line 541) | correctTagsOffset(pullRequest) { method updatePullFromWhichNode (line 548) | updatePullFromWhichNode(messageQueue, brokerId) { method updateTopicSubscribeInfo (line 558) | updateTopicSubscribeInfo(topic, info) { method isSubscribeTopicNeedUpdate (line 569) | isSubscribeTopicNeedUpdate(topic) { method doRebalance (line 580) | async doRebalance() { method rebalanceByTopic (line 586) | async rebalanceByTopic(topic) { method updateProcessQueueTableInRebalance (line 623) | async updateProcessQueueTableInRebalance(topic, mqSet) { method computePullFromWhere (line 683) | async computePullFromWhere(messageQueue) { method removeProcessQueue (line 746) | async removeProcessQueue(messageQueue) { method removeUnnecessaryMessageQueue (line 761) | async removeUnnecessaryMessageQueue(messageQueue) { method sendMessageBack (line 768) | async sendMessageBack(msg, delayLevel, brokerName, consumerGroup) { method _handleError (line 809) | _handleError(err) { method _sleep (line 814) | _sleep(timeout) { function compare (line 825) | function compare(mqA, mqB) { FILE: lib/consumer/rebalance/allocate_message_queue_averagely.js class AllocateMessageQueueAveragely (line 6) | class AllocateMessageQueueAveragely extends AllocateMessageQueueStrategy { method name (line 7) | get name() { method allocate (line 11) | allocate(consumerGroup, currentCID, mqAll, cidAll) { FILE: lib/consumer/rebalance/allocate_message_queue_strategy.js class AllocateMessageQueueStrategy (line 5) | class AllocateMessageQueueStrategy { method allocate (line 13) | allocate(consumerGroup, currentCID, mqAll, cidAll) { /* eslint no-unus... method name (line 20) | get name() { FILE: lib/logger.js method info (line 4) | info() {} method warn (line 5) | warn(...args) { method error (line 8) | error(...args) { method debug (line 11) | debug() {} FILE: lib/message/message.js class Message (line 6) | class Message { method constructor (line 15) | constructor(topic, tags, body) { method tags (line 50) | get tags() { method tags (line 54) | set tags(val) { method keys (line 62) | get keys() { method keys (line 66) | set keys(val) { method originMessageId (line 74) | get originMessageId() { method originMessageId (line 78) | set originMessageId(val) { method retryTopic (line 86) | get retryTopic() { method retryTopic (line 90) | set retryTopic(val) { method delayTimeLevel (line 98) | get delayTimeLevel() { method delayTimeLevel (line 106) | set delayTimeLevel(val) { method waitStoreMsgOK (line 114) | get waitStoreMsgOK() { method waitStoreMsgOK (line 119) | set waitStoreMsgOK(val) { method buyerId (line 127) | get buyerId() { method buyerId (line 131) | set buyerId(val) { method setStartDeliverTime (line 139) | setStartDeliverTime(delayTime) { method getStartDeliverTime (line 147) | getStartDeliverTime() { method shardingKey (line 151) | get shardingKey() { method shardingKey (line 154) | set shardingKey(val) { FILE: lib/message/message_decoder.js constant MSG_ID_LENGTH (line 12) | const MSG_ID_LENGTH = 8 + 8; constant NAME_VALUE_SEPARATOR (line 13) | const NAME_VALUE_SEPARATOR = String.fromCharCode(1); constant PROPERTY_SEPARATOR (line 14) | const PROPERTY_SEPARATOR = String.fromCharCode(2); function innerDecode (line 80) | function innerDecode(byteBuffer, readBody, deCompressBody) { function string2bytes (line 181) | function string2bytes(hexString) { function bytes2string (line 188) | function bytes2string(src) { function string2messageProperties (line 195) | function string2messageProperties(properties) { FILE: lib/message_queue.js class MessageQueue (line 5) | class MessageQueue { method constructor (line 6) | constructor(topic, brokerName, queueId) { FILE: lib/mq_client.js class MQClient (line 15) | class MQClient extends MQClientAPI { method constructor (line 22) | constructor(clientConfig) { method clientId (line 36) | get clientId() { method pollNameServerInteval (line 43) | get pollNameServerInteval() { method heartbeatBrokerInterval (line 50) | get heartbeatBrokerInterval() { method persistConsumerOffsetInterval (line 57) | get persistConsumerOffsetInterval() { method rebalanceInterval (line 64) | get rebalanceInterval() { method init (line 71) | async init() { method close (line 83) | async close() { method startScheduledTask (line 99) | startScheduledTask(name, interval, delay) { method registerConsumer (line 120) | registerConsumer(group, consumer) { method unregisterConsumer (line 134) | async unregisterConsumer(group) { method registerProducer (line 146) | registerProducer(group, producer) { method unregisterProducer (line 160) | async unregisterProducer(group) { method unregister (line 172) | async unregister(producerGroup, consumerGroup) { method updateAllTopicRouterInfo (line 193) | async updateAllTopicRouterInfo() { method updateTopicRouteInfoFromNameServer (line 232) | async updateTopicRouteInfoFromNameServer(topic, isDefault, defaultMQPr... method _refreshTopicRouteInfo (line 254) | _refreshTopicRouteInfo(topic, topicRouteData) { method _isRouteDataChanged (line 317) | _isRouteDataChanged(prev, current) { method _isNeedUpdateTopicRouteInfo (line 325) | _isNeedUpdateTopicRouteInfo(topic) { method _topicRouteData2TopicPublishInfo (line 344) | _topicRouteData2TopicPublishInfo(topic, topicRouteData) { method _topicRouteData2TopicSubscribeInfo (line 376) | _topicRouteData2TopicSubscribeInfo(topic, topicRouteData) { method sendHeartbeatToAllBroker (line 392) | async sendHeartbeatToAllBroker() { method _prepareHeartbeatData (line 428) | _prepareHeartbeatData() { method _cleanOfflineBroker (line 470) | _cleanOfflineBroker() { method _isBrokerAddrExistInTopicRouteTable (line 492) | _isBrokerAddrExistInTopicRouteTable(addr) { method doRebalance (line 510) | async doRebalance() { method findConsumerIdList (line 525) | async findConsumerIdList(topic, group) { method findBrokerAddrByTopic (line 542) | findBrokerAddrByTopic(topic) { method findBrokerAddressInAdmin (line 566) | findBrokerAddressInAdmin(brokerName) { method findBrokerAddressInSubscribe (line 588) | findBrokerAddressInSubscribe(brokerName, brokerId, onlyThisBroker) { method maxOffset (line 624) | async maxOffset(messageQueue) { method findBrokerAddressInPublish (line 641) | findBrokerAddressInPublish(brokerName) { method persistAllConsumerOffset (line 646) | async persistAllConsumerOffset() { method searchOffset (line 655) | async searchOffset(messageQueue, timestamp) { method getAndCreateMQClient (line 671) | static getAndCreateMQClient(clientConfig) { FILE: lib/mq_client_api.js constant JSON2 (line 3) | const JSON2 = require('JSON2'); constant NAMESPACE_PROJECT_CONFIG (line 19) | const NAMESPACE_PROJECT_CONFIG = 'PROJECT_CONFIG'; constant VIRTUAL_APPGROUP_PREFIX (line 20) | const VIRTUAL_APPGROUP_PREFIX = '%%PROJECT_%s%%'; class MQClientAPI (line 26) | class MQClientAPI extends RemotingClient { method constructor (line 36) | constructor(options) { method init (line 47) | async init() { method getProjectGroupByIp (line 58) | async getProjectGroupByIp(ip, timeoutMillis) { method getKVConfigByValue (line 75) | async getKVConfigByValue(namespace, value, timeoutMillis) { method getDefaultTopicRouteInfoFromNameServer (line 100) | async getDefaultTopicRouteInfoFromNameServer(topic, timeoutMillis) { method unregisterClient (line 139) | async unregisterClient(addr, clientId, producerGroup, consumerGroup, t... method getTopicRouteInfoFromNameServer (line 166) | async getTopicRouteInfoFromNameServer(topic, timeoutMillis) { method sendHearbeat (line 200) | async sendHearbeat(addr, heartbeatData, timeout) { method updateConsumerOffsetOneway (line 226) | async updateConsumerOffsetOneway(brokerAddr, requestHeader) { method queryConsumerOffset (line 241) | async queryConsumerOffset(brokerAddr, requestHeader, timeoutMillis) { method getMaxOffset (line 267) | async getMaxOffset(addr, topic, queueId, timeoutMillis) { method searchOffset (line 298) | async searchOffset(addr, topic, queueId, timestamp, timeoutMillis) { method getConsumerIdListByGroup (line 327) | async getConsumerIdListByGroup(addr, consumerGroup, timeoutMillis) { method pullMessage (line 354) | async pullMessage(brokerAddr, requestHeader, timeoutMillis) { method createTopic (line 411) | async createTopic(addr, defaultTopic, topicConfig, timeoutMillis) { method sendMessage (line 443) | async sendMessage(brokerAddr, brokerName, msg, requestHeader, timeoutM... method consumerSendMessageBack (line 504) | async consumerSendMessageBack(brokerAddr, msg, consumerGroup, delayLev... method _defaultHandler (line 549) | _defaultHandler(request, response) { method _buildWithProjectGroup (line 556) | _buildWithProjectGroup(origin) { method _clearProjectGroup (line 567) | _clearProjectGroup(origin) { function compare (line 580) | function compare(routerA, routerB) { FILE: lib/process_queue.js class ProcessQueue (line 9) | class ProcessQueue extends Base { method constructor (line 10) | constructor(options = {}) { method maxSpan (line 22) | get maxSpan() { method msgCount (line 30) | get msgCount() { method isPullExpired (line 34) | get isPullExpired() { method putMessage (line 38) | putMessage(msgs) { method remove (line 45) | remove(count = 1) { method clear (line 50) | clear() { FILE: lib/producer/mq_producer.js class MQProducer (line 30) | class MQProducer extends ClientConfig { method constructor (line 37) | constructor(options) { method logger (line 51) | get logger() { method producerGroup (line 55) | get producerGroup() { method createTopicKey (line 62) | get createTopicKey() { method defaultTopicQueueNums (line 66) | get defaultTopicQueueNums() { method publishTopicList (line 74) | get publishTopicList() { method init (line 82) | async init() { method close (line 94) | async close() { method _error (line 109) | _error(err) { method updateTopicPublishInfo (line 122) | updateTopicPublishInfo(topic, info) { method isPublishTopicNeedUpdate (line 138) | isPublishTopicNeedUpdate(topic) { method send (line 188) | async send(msg) { method tryToFindTopicPublishInfo (line 245) | async tryToFindTopicPublishInfo(topic) { method sendKernelImpl (line 261) | async sendKernelImpl(msg, messageQueue) { method tryToCompressMessage (line 319) | tryToCompressMessage(msg) { method getDefaultProducer (line 343) | static async getDefaultProducer(options = {}) { FILE: lib/producer/topic_publish_info.js class TopicPublishInfo (line 5) | class TopicPublishInfo { method constructor (line 6) | constructor() { method ok (line 16) | get ok() { method selectOneMessageQueue (line 26) | selectOneMessageQueue(lastBrokerName, message) { FILE: lib/protocol/command/opaque_generator.js constant MAX_INT_31 (line 3) | const MAX_INT_31 = Math.pow(2, 31) - 10; FILE: lib/protocol/command/remoting_command.js constant REQUEST_COMMAND (line 9) | const REQUEST_COMMAND = 'REQUEST_COMMAND'; constant RESPONSE_COMMAND (line 10) | const RESPONSE_COMMAND = 'RESPONSE_COMMAND'; constant RPC_TYPE (line 14) | const RPC_TYPE = 0; constant RPC_ONEWAY (line 17) | const RPC_ONEWAY = 1; constant MQ_VERSION (line 20) | const MQ_VERSION = 121; class RemotingCommand (line 24) | class RemotingCommand { method constructor (line 36) | constructor(options) { method language (line 46) | get language() { method version (line 50) | get version() { method type (line 54) | get type() { method isResponseType (line 58) | get isResponseType() { method isOnewayRPC (line 63) | get isOnewayRPC() { method markResponseType (line 68) | markResponseType() { method markOnewayRPC (line 73) | markOnewayRPC() { method makeCustomHeaderToNet (line 78) | makeCustomHeaderToNet() { method decodeCommandCustomHeader (line 94) | decodeCommandCustomHeader() { method buildHeader (line 98) | buildHeader() { method encode (line 111) | encode() { method createRequestCommand (line 136) | static createRequestCommand(code, customHeader) { method createResponseCommand (line 150) | static createResponseCommand(code, opaque, remark) { method decode (line 165) | static decode(packet) { FILE: lib/protocol/perm_name.js constant PERM_READ (line 5) | const PERM_READ = 0x1 << 2; constant PERM_WRITE (line 6) | const PERM_WRITE = 0x1 << 1; constant PERM_INHERIT (line 7) | const PERM_INHERIT = 0x1 << 0; FILE: lib/remoting_client.js class RemotingClient (line 13) | class RemotingClient extends Base { method constructor (line 23) | constructor(options) { method httpclient (line 36) | get httpclient() { method logger (line 43) | get logger() { method responseTimeout (line 50) | get responseTimeout() { method unitName (line 54) | get unitName() { method init (line 62) | async init() { method close (line 73) | async close() { method error (line 104) | error(err) { method handleClose (line 108) | async handleClose(addr, channel) { method updateNameServerAddressListThrottle (line 115) | async updateNameServerAddressListThrottle() { method updateNameServerAddressList (line 143) | async updateNameServerAddressList() { method invoke (line 178) | async invoke(addr, command, timeout) { method invokeForNameSrvAtLeastOnce (line 192) | async invokeForNameSrvAtLeastOnce(command, timeout) { method invokeOneway (line 219) | async invokeOneway(addr, command) { method getAndCreateChannel (line 231) | getAndCreateChannel(addr) { FILE: lib/store/local_file.js class LocalFileOffsetStore (line 12) | class LocalFileOffsetStore extends Base { method constructor (line 20) | constructor(mqClient, groupName) { method logger (line 30) | get logger() { method load (line 37) | async load() { method updateOffset (line 56) | updateOffset(messageQueue, offset, increaseOnly) { method readOffset (line 79) | async readOffset(messageQueue, type) { method persistAll (line 117) | async persistAll(mqs) { method persist (line 140) | async persist() {} method removeOffset (line 149) | removeOffset(messageQueue) { method readLocalOffset (line 159) | async readLocalOffset() { FILE: lib/store/local_memory.js class LocalMemoryOffsetStore (line 7) | class LocalMemoryOffsetStore extends Base { method constructor (line 14) | constructor(mqClient, groupName) { method logger (line 21) | get logger() { method updateOffset (line 32) | updateOffset(messageQueue, offset, increaseOnly) { method readOffset (line 55) | async readOffset(messageQueue, type) { method load (line 78) | async load() {} method persistAll (line 80) | async persistAll() {} method persist (line 82) | async persist() {} method removeOffset (line 91) | removeOffset(messageQueue) { FILE: lib/store/remote_broker.js class RemoteBrokerOffsetStore (line 8) | class RemoteBrokerOffsetStore extends Base { method constructor (line 16) | constructor(mqClient, groupName) { method logger (line 24) | get logger() { method load (line 33) | async load() {} method updateOffset (line 44) | updateOffset(messageQueue, offset, increaseOnly) { method readOffset (line 67) | async readOffset(messageQueue, type) { method persistAll (line 104) | async persistAll(mqs) { method persist (line 132) | async persist(messageQueue) { method removeOffset (line 145) | removeOffset(messageQueue) { method fetchConsumeOffsetFromBroker (line 156) | async fetchConsumeOffsetFromBroker(messageQueue) { method updateConsumeOffsetToBroker (line 172) | async updateConsumeOffsetToBroker(messageQueue, offset) { method findBrokerAddressInAdmin (line 184) | async findBrokerAddressInAdmin(messageQueue) { FILE: lib/utils/index.js function zeroize (line 65) | function zeroize(value, length) { FILE: lib/utils/pull_sys_flag.js constant FLAG_COMMIT_OFFSET (line 4) | const FLAG_COMMIT_OFFSET = 1 << 0; constant FLAG_SUSPEND (line 5) | const FLAG_SUSPEND = 1 << 1; constant FLAG_SUBSCRIPTION (line 6) | const FLAG_SUBSCRIPTION = 1 << 2; constant FLAG_CLASS_FILTER (line 7) | const FLAG_CLASS_FILTER = 1 << 3; FILE: test/channel.test.js constant TOPIC (line 16) | const TOPIC = config.topic; FILE: test/index.test.js constant TOPIC (line 17) | const TOPIC = config.topic; method info (line 404) | info() {} method warn (line 405) | warn() {} method error (line 406) | error(...args) { method debug (line 409) | debug() {} FILE: test/index_namesrv.test.js constant TOPIC (line 20) | const TOPIC = config.topic; FILE: test/message/message_decoder.test.js constant NAME_VALUE_SEPARATOR (line 9) | const NAME_VALUE_SEPARATOR = String.fromCharCode(1); constant PROPERTY_SEPARATOR (line 10) | const PROPERTY_SEPARATOR = String.fromCharCode(2); constant SYSTEM_PROP_KEY_STARTDELIVERTIME (line 11) | const SYSTEM_PROP_KEY_STARTDELIVERTIME = '__STARTDELIVERTIME'; FILE: test/mq_client.test.js method updateTopicSubscribeInfo (line 28) | updateTopicSubscribeInfo() {} method isSubscribeTopicNeedUpdate (line 29) | isSubscribeTopicNeedUpdate() {} method doRebalance (line 30) | doRebalance() {} method updateTopicPublishInfo (line 42) | updateTopicPublishInfo() {} method isPublishTopicNeedUpdate (line 43) | isPublishTopicNeedUpdate() {} method updateTopicSubscribeInfo (line 55) | updateTopicSubscribeInfo() {} method isSubscribeTopicNeedUpdate (line 56) | isSubscribeTopicNeedUpdate() {} method doRebalance (line 57) | doRebalance() {} method updateTopicPublishInfo (line 64) | updateTopicPublishInfo() {} method isPublishTopicNeedUpdate (line 65) | isPublishTopicNeedUpdate() {} method updateTopicSubscribeInfo (line 83) | updateTopicSubscribeInfo() {} method isSubscribeTopicNeedUpdate (line 84) | isSubscribeTopicNeedUpdate() {} method doRebalance (line 85) | doRebalance() {} method updateTopicPublishInfo (line 90) | updateTopicPublishInfo() {} method isPublishTopicNeedUpdate (line 91) | isPublishTopicNeedUpdate() {} method updateTopicSubscribeInfo (line 110) | updateTopicSubscribeInfo() {} method isSubscribeTopicNeedUpdate (line 111) | isSubscribeTopicNeedUpdate() {} method doRebalance (line 112) | doRebalance() {} method updateTopicPublishInfo (line 116) | updateTopicPublishInfo() {} method isPublishTopicNeedUpdate (line 117) | isPublishTopicNeedUpdate() {} method updateTopicSubscribeInfo (line 206) | updateTopicSubscribeInfo() {} method isSubscribeTopicNeedUpdate (line 207) | isSubscribeTopicNeedUpdate() {} method doRebalance (line 208) | doRebalance() {} method updateTopicPublishInfo (line 212) | updateTopicPublishInfo() {} method isPublishTopicNeedUpdate (line 213) | isPublishTopicNeedUpdate() {} method persistConsumerOffset (line 230) | async persistConsumerOffset() { console.log('persistConsumerOffset'); } method doRebalance (line 231) | async doRebalance() { console.log('doRebalance'); } FILE: test/mq_client_api.test.js constant TOPIC (line 9) | const TOPIC = config.topic; FILE: test/store/remote_broker.test.js constant TOPIC (line 11) | const TOPIC = config.topic;