Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boltmq/boltmq
/ functions
Functions
1,049 in github.com/boltmq/boltmq
⨍
Functions
1,049
◇
Types & classes
145
↓ 1 callers
Method
RegisterBroker
RegisterBroker 向nameService注册broker Author gaoyanlei Since 2017/8/22
broker/client/call_outer_service.go:99
↓ 1 callers
Method
RegisterBrokerAll
RegisterBrokerAll 向nameservice注册所有broker Author gaoyanlei Since 2017/8/22
broker/client/call_outer_service.go:154
↓ 1 callers
Method
RegisterConsumeMessageHook
RegisterConsumeMessageHook 注册消费消息的回调 Author rongzhihong Since 2017/9/11
broker/server/controller.go:290
↓ 1 callers
Method
RegisterSendMessageHook
RegisterSendMessageHook 注册赋值发送消息回调 Author rongzhihong Since 2017/9/5
broker/server/send_message_processor.go:391
↓ 1 callers
Method
RuntimeInfo
()
store/message_store.go:40
↓ 1 callers
Method
RuntimeInfo
()
stats/store_stats.go:43
↓ 1 callers
Method
SelectOneMessageByOffsetAndSize
通过物理队列Offset,查询消息。 如果发生错误,则返回null
store/message_store.go:38
↓ 1 callers
Method
SendMessage
sendMessage 正常消息 Author gaoyanlei Since 2017/8/17
broker/server/send_message_processor.go:256
↓ 1 callers
Method
SendMessageAfter
(context *SendMessageContext)
broker/trace/send_message_hook.go:22
↓ 1 callers
Method
SendMessageBefore
(context *SendMessageContext)
broker/trace/send_message_hook.go:21
↓ 1 callers
Method
SetDispatchMaxBuffer
(value int64)
stats/store_stats.go:40
↓ 1 callers
Method
SetMessageEntireTimeMax
(value int64)
stats/store_stats.go:38
↓ 1 callers
Method
SetMessageTimesTotalFound
(value int64)
stats/store_stats.go:36
↓ 1 callers
Method
SetMessageTimesTotalMiss
(value int64)
stats/store_stats.go:37
↓ 1 callers
Method
SetMessageTransferedMsgCount
(value int64)
stats/store_stats.go:35
↓ 1 callers
Method
SetPutMessageEntireTimeMax
(value int64)
stats/store_stats.go:39
↓ 1 callers
Method
SetPutMessageFailedTimes
(value int64)
stats/store_stats.go:34
↓ 1 callers
Method
SetSinglePutMessageTopicSizeTotal
(topic string, value int64)
stats/store_stats.go:31
↓ 1 callers
Method
SetSinglePutMessageTopicTimesTotal
(topic string, value int64)
stats/store_stats.go:33
↓ 1 callers
Method
Shutdown
()
store/message_store.go:28
↓ 1 callers
Method
SlaveFallBehindMuch
()
store/message_store.go:51
↓ 1 callers
Method
Start
Start 控制器的start启动入口 Author rongzhihong Since 2017/9/12
broker/server/controller.go:364
↓ 1 callers
Method
TpsGroupGetNums
(group, topic string)
stats/broker_stats.go:45
↓ 1 callers
Method
UnRegisterBroker
UnRegisterBroker 注销单个broker Author gaoyanlei Since 2017/8/22
broker/client/call_outer_service.go:182
↓ 1 callers
Method
UnRegisterBrokerAll
UnRegisterBrokerAll 注销全部Broker Author gaoyanlei Since 2017/8/22
broker/client/call_outer_service.go:207
↓ 1 callers
Method
UnmarshalJSONFFLexer
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
broker/server/offset_table_ffjson.go:73
↓ 1 callers
Method
ViewBrokerStatsData
ViewBrokerStatsData 查看Broker统计信息 Author rongzhihong Since 2017/9/19
broker/server/admin_processor.go:1119
↓ 1 callers
Method
ViewMessageById
ProcessRequest 根据MsgId查询消息 Author rongzhihong Since 2017/9/18
broker/server/query_message_processor.go:99
↓ 1 callers
Method
WriteInt16
(int16)
store/buffer_result.go:28
↓ 1 callers
Method
WriteInt8
(int8)
store/buffer_result.go:27
↓ 1 callers
Method
addConnection
(haConn *haConnection)
store/persistent/ha.go:771
↓ 1 callers
Method
addScheduleTask
()
store/persistent/message_store.go:472
↓ 1 callers
Method
appendData
(startOffset int64, data []byte)
store/persistent/commit_log.go:536
↓ 1 callers
Method
buildData
()
store/persistent/ha.go:219
↓ 1 callers
Method
buildIndex
(request interface{})
store/persistent/index.go:117
↓ 1 callers
Method
buildKey
(topic, key string)
store/persistent/index.go:160
↓ 1 callers
Method
buildMsgContext
(ctx core.Context, requestHeader *head.SendMessageRequestHeader)
broker/server/send_message_processor.go:481
↓ 1 callers
Method
buildNewFilterServerList
buildNewFilterServerList FilterServer地址列表 Author rongzhihong Since 2017/9/8
broker/server/filter_server_manager.go:186
↓ 1 callers
Method
buildRunningStats
(stats map[string]string)
store/persistent/schedule.go:52
↓ 1 callers
Method
buildStartCommand
buildStartCommand 组装CMD命令 Author rongzhihong Since 2017/9/8
broker/server/filter_server_manager.go:96
↓ 1 callers
Method
buildTopicConfigSerializeWrapper
buildTopicConfigSerializeWrapper 创建tpCfgSerialWrapper Author gaoyanlei Since 2017/8/11
broker/server/topic_config_manager.go:343
↓ 1 callers
Method
callClient
callClient 调用客户端 Author rongzhihong Since 2017/9/18
broker/server/broker_client.go:76
↓ 1 callers
Method
checkCommitLogFileSpace
()
store/persistent/commit_log.go:1142
↓ 1 callers
Method
checkConsumeQueueFileSpace
()
store/persistent/commit_log.go:1174
↓ 1 callers
Method
checkHoldRequest
checkHoldRequest 检查拉请求是否有数据,如有,则通知 Author rongzhihong Since 2017/9/5
broker/server/pull_request_hold_service.go:88
↓ 1 callers
Method
checkProducerTransactionState
checkProducerTransactionState Broker主动回查Producer事务状态,Oneway Author rongzhihong Since 2017/9/11
broker/server/broker_client.go:64
↓ 1 callers
Function
clean
(mbb *mappedByteBuffer)
store/persistent/mapped_byte_buffer.go:147
↓ 1 callers
Method
cleanExpiredConsumeQueue
cleanExpiredConsumeQueue 删除失效消费队列 Author rongzhihong Since 2017/9/19
broker/server/admin_processor.go:948
↓ 1 callers
Method
cleanFilesPeriodically
()
store/persistent/message_store.go:481
↓ 1 callers
Method
cleanup
(currentRef int64)
store/persistent/mapped_file.go:358
↓ 1 callers
Method
clearNewLine
(str string)
broker/client/top_addr.go:88
↓ 1 callers
Method
cloneGroupOffset
cloneGroupOffset 克隆cloneGroupOffset Author rongzhihong Since 2017/9/19
broker/server/admin_processor.go:1070
↓ 1 callers
Method
cloneOffset
cloneOffset 克隆偏移量 Author rongzhihong Since 2017/9/18
broker/server/consumer_offset_manager.go:207
↓ 1 callers
Method
computeDeliverTimestamp
(delayLevel int32, storeTimestamp int64)
store/persistent/schedule.go:73
↓ 1 callers
Method
connectMaster
()
store/persistent/ha.go:526
↓ 1 callers
Method
consumeMessageDirectly
consumeMessageDirectly 直接让客户端消费消息 Author rongzhihong Since 2017/9/19
broker/server/admin_processor.go:1041
↓ 1 callers
Method
createAndUpdateQueueData
createAndUpdateQueueData 创建或更新Topic的队列数据 业务逻辑: (1)每来一个Master,创建一个QueueData对象 (2)如果是新建topic,就是添加QueueData对象 (3)如果是修改topic,就是把旧的QueueData删除,加入新的 例如: A
namesrv/server/route_info_manager.go:283
↓ 1 callers
Method
createFilterServer
createFilterServer 创建FilterServer Author rongzhihong Since 2017/9/8
broker/server/filter_server_manager.go:80
↓ 1 callers
Method
createTempFile
()
store/persistent/message_store.go:445
↓ 1 callers
Method
createTopicInSendMessageMethod
createTopicInSendMessageMethod 创建topic Author gaoyanlei Since 2017/8/10
broker/server/topic_config_manager.go:156
↓ 1 callers
Method
decode
(jsonString []byte)
broker/server/config_manager.go:29
↓ 1 callers
Function
defaultBrokerIP
()
broker/config/parse.go:158
↓ 1 callers
Function
defaultHaServerIP
()
broker/config/parse.go:149
↓ 1 callers
Function
defaultValue
(envar string)
common/env.go:48
↓ 1 callers
Function
delayLevel2QueueId
(delayLevel int32)
store/persistent/schedule.go:48
↓ 1 callers
Method
deleteExpiredFile
(expiredTime int64, deleteFilesInterval int32, intervalForcibly int64, cleanImmediately bool)
store/persistent/commit_log.go:511
↓ 1 callers
Method
deleteExpiredFileByOffset
deleteExpiredFileByOffset 根据物理队列最小Offset来删除逻辑队列 Params: offset 物理队列最小offset Params: unitsize ??? Author: tantexian, <tantexian@qq.com> Since: 17/8/9
store/persistent/mapped_file_queue.go:373
↓ 1 callers
Method
deleteExpiredFileByTime
deleteExpiredFileByTime 根据文件过期时间来删除物理队列文件 Return: 删除过期文件的数量 Author: tantexian, <tantexian@qq.com> Since: 17/8/9
store/persistent/mapped_file_queue.go:330
↓ 1 callers
Method
deleteExpiredFiles
(fls *list.List)
store/persistent/index.go:268
↓ 1 callers
Method
deleteExpiredFiles
()
store/persistent/commit_log.go:1081
↓ 1 callers
Method
deleteExpiredFiles
()
store/persistent/consume.go:117
↓ 1 callers
Method
deleteKVConfig
deleteKVConfig 从Namesrv删除KV配置 Author: tianyuliang Since: 2017/9/6
namesrv/server/request_processor.go:328
↓ 1 callers
Method
deleteKVConfigByValue
deleteKVConfigByValue 删除指定 project group 下的所有 server ip 信息 Author: tianyuliang Since: 2017/9/6
namesrv/server/request_processor.go:449
↓ 1 callers
Method
deleteLastMappedFile
deleteLastMappedFile 恢复时调用
store/persistent/mapped_file_queue.go:316
↓ 1 callers
Method
deleteSubscriptionGroup
deleteSubscriptionGroup 删除消费分组 Author rongzhihong Since 2017/9/19
broker/server/admin_processor.go:461
↓ 1 callers
Method
deleteSubscriptionGroupConfig
deleteSubscriptionGroupConfig 删除某个订阅组的配置 Author rongzhihong Since 2017/9/18
broker/server/subscription_group_manager.go:130
↓ 1 callers
Method
deleteTopic
deleteTopic 删除Topic
namesrv/server/route_info_manager.go:76
↓ 1 callers
Method
deleteTopic
(ctx core.Context, request *protocol.RemotingCommand)
broker/server/admin_processor.go:184
↓ 1 callers
Method
deleteTopicConfig
deleteTopicConfig 删除topic Author gaoyanlei Since 2017/8/10
broker/server/topic_config_manager.go:329
↓ 1 callers
Method
deleteTopicInNamesrv
deleteTopicInNamesrv 从Namesrv删除Topic配置 Author: tianyuliang Since: 2017/9/6
namesrv/server/request_processor.go:176
↓ 1 callers
Method
destroy
()
store/persistent/dispatch.go:78
↓ 1 callers
Method
destroy
()
store/persistent/commit_log.go:809
↓ 1 callers
Method
destroy
()
store/persistent/ha.go:90
↓ 1 callers
Method
destroy
()
store/persistent/ha.go:291
↓ 1 callers
Method
destroyConnections
()
store/persistent/ha.go:753
↓ 1 callers
Function
diskUsage
get Linux disk usage
common/statfs/statfs_unix.go:24
↓ 1 callers
Method
diskUtil
diskUtil 磁盘使用情况 Author rongzhihong Since 2017/9/16
broker/server/send_message_processor.go:423
↓ 1 callers
Method
doAppend
write MappedByteBuffer,and return How many bytes to write
store/persistent/mapped_file.go:41
↓ 1 callers
Method
doDispatch
(request *dispatchRequest)
store/persistent/dispatch.go:101
↓ 1 callers
Method
doWaitTransfer
()
store/persistent/ha.go:436
↓ 1 callers
Method
endMessageTransaction
endMessageTransactions 消息事务 Author rongzhihong Since 2017/9/18
broker/server/transaction_processor.go:185
↓ 1 callers
Method
executeConsumeMessageHookBefore
executeConsumeMessageHookBefore 消费消息前,执行回调 Author rongzhihong Since 2017/9/11
broker/server/pull_message_processor.go:391
↓ 1 callers
Method
fetchNameServerAddr
(verbose bool, timeoutMills int64)
broker/client/top_addr.go:49
↓ 1 callers
Method
fillPreBlank
(mf *mappedFile, untilWhere int64)
store/persistent/consume_queue.go:342
↓ 1 callers
Method
findChannel
findChannel 获得某个组某个消费Id对应的通道 Author rongzhihong Since 2017/9/18
broker/server/consumer_manager.go:219
↓ 1 callers
Method
findSubscriptionDataPlus
(topic string)
broker/server/consumer_client.go:85
↓ 1 callers
Method
fixConfig
()
broker/server/controller.go:106
↓ 1 callers
Function
flush
(addr, len uintptr)
store/persistent/mmap/mmap_windows.go:84
↓ 1 callers
Function
flush
(addr, len uintptr)
store/persistent/mmap/mmap_unix.go:47
↓ 1 callers
Method
flush
(idxFile *indexFile)
store/persistent/index.go:296
← previous
next →
301–400 of 1,049, ranked by callers