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
↓ 3 callers
Method
Init
Init 统计单元初始化 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:113
↓ 3 callers
Method
IsExpired
()
broker/rebalance/lock_entry.go:46
↓ 3 callers
Method
IsLocked
(clientId string)
broker/rebalance/lock_entry.go:54
↓ 3 callers
Method
MaxPhyOffset
取运行时统计数据
store/message_store.go:41
↓ 3 callers
Function
PathExists
(path string)
common/file.go:26
↓ 3 callers
Method
Put
(cs callSnapshot)
stats/call_snapshot.go:66
↓ 3 callers
Method
checkMessageAndReturnSize
(byteBuffer *mappedByteBuffer, checkCRC bool, readBody bool)
store/persistent/commit_log.go:288
↓ 3 callers
Method
copyMappedFiles
copyMappedFiles 获取当前mappedFiles列表中的副本slice Params: reservedMappedFiles 只有当mappedFiles列表中文件个数大于reservedMappedFiles才返回副本 Return: 返回大于等于reservedMappedFil
store/persistent/mapped_file_queue.go:98
↓ 3 callers
Method
deleteFile
(fileName string)
store/persistent/message_store.go:534
↓ 3 callers
Method
executeRequestWhenWakeup
executeRequestWhenWakeup 唤醒拉取消息的请求 Author rongzhihong Since 2017/9/5
broker/server/pull_message_processor.go:62
↓ 3 callers
Method
findSubscriptionGroupConfig
findSubscriptionGroupConfig 查找订阅关系 Author gaoyanlei Since 2017/8/17
broker/server/subscription_group_manager.go:73
↓ 3 callers
Method
getFirstMappedFileOnLock
()
store/persistent/mapped_file_queue.go:530
↓ 3 callers
Method
getGetTotalTpsByTime
(time int)
stats/store_stats.go:371
↓ 3 callers
Method
getKVListByNamespace
getKVListByNamespace 获取指定Namespace所有的KV配置列表 Author: tianyuliang Since: 2017/9/6
namesrv/server/request_processor.go:151
↓ 3 callers
Method
getMinOffsetInQueue
()
store/persistent/consume_queue.go:273
↓ 3 callers
Method
load
()
broker/server/config_manager.go:46
↓ 3 callers
Function
newCallSnapshotPlus
()
stats/call_snapshot.go:44
↓ 3 callers
Function
newConfigManagerLoader
(cfgManager configManager)
broker/server/config_manager.go:40
↓ 3 callers
Function
newStoreCheckpoint
(scpPath string)
store/persistent/store_checkpoint.go:34
↓ 3 callers
Method
persist
persist 将内存中的namesrv配置项持久化到kvConfig.json文件 Author: tianyuliang Since: 2017/9/6
namesrv/server/kv_config_manager.go:69
↓ 3 callers
Method
pickupStoretimestamp
(offset int64, size int32)
store/persistent/commit_log.go:253
↓ 3 callers
Method
printTopicQueueTable
printTopicQueueTable 打印rim.topicQueueTable 数据
namesrv/server/route_info_manager.go:650
↓ 3 callers
Function
remove
()
store/persistent/mapped_file_test.go:25
↓ 3 callers
Method
rollNextFile
(offset int64)
store/persistent/commit_log.go:202
↓ 3 callers
Method
scanNotActiveChannel
scanNotActiveChannel 扫描不活跃通道 Author rongzhihong Since 2017/9/17
broker/server/producer_manager.go:158
↓ 3 callers
Method
swapRequests
()
store/persistent/commit_log.go:651
↓ 3 callers
Function
timeMillisecondToHumanString
(t time.Time)
store/persistent/utils.go:48
↓ 3 callers
Method
truncateDirtyFiles
truncateDirtyFiles recover时调用,不需要加锁 Author: tantexian, <tantexian@qq.com> Since: 2017/8/7
store/persistent/mapped_file_queue.go:120
↓ 2 callers
Method
ConsumeMessageAfter
(context *ConsumeMessageContext)
broker/trace/consume_message_hook.go:22
↓ 2 callers
Method
EarliestMessageTime
(topic string, queueId int32)
store/message_store.go:43
↓ 2 callers
Method
ForeachByWPerm
ForeachByWPerm 写操作迭代 Author rongzhihong Since 2017/10/17
broker/server/producer_manager.go:316
↓ 2 callers
Method
Get
(k string)
broker/server/producer_manager.go:279
↓ 2 callers
Method
GetGetMessageTransferedMsgCount
()
stats/store_stats.go:42
↓ 2 callers
Method
GetPutMessageTimesTotal
()
stats/store_stats.go:41
↓ 2 callers
Method
GetPutMessageTimesTotal
()
stats/store_stats.go:176
↓ 2 callers
Method
GetSinglePutMessageTopicSizeTotal
(topic string)
stats/store_stats.go:30
↓ 2 callers
Method
GetSinglePutMessageTopicTimesTotal
(topic string)
stats/store_stats.go:32
↓ 2 callers
Method
GetStatsDataInDay
GetStatsDataInDay 获得天统计数据 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:106
↓ 2 callers
Method
GetStatsDataInHour
GetStatsDataInDay 获得小时统计数据 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:99
↓ 2 callers
Method
GetStatsItem
(statsName, statsKey string)
stats/broker_stats.go:37
↓ 2 callers
Method
HasConsumeMessageHook
hasConsumeMessageHook 判断是否有回调函数 Author rongzhihong Since 2017/9/14
broker/server/client_manage_processor.go:255
↓ 2 callers
Method
HasReadable
HasReadable 校验Broker是否有读权限 Author: tianyuliang Since: 2017/9/29
broker/config/config.go:81
↓ 2 callers
Method
HasSendMessageHook
hasSendMessageHook 检查SendMessageHookList的长度 Author rongzhihong Since 2017/9/11
broker/server/send_message_processor.go:581
↓ 2 callers
Method
HookName
()
broker/trace/send_message_hook.go:20
↓ 2 callers
Method
Load
()
store/message_store.go:26
↓ 2 callers
Method
LookMessageByOffset
根据消息时间获取某个队列中对应的offset
store/message_store.go:36
↓ 2 callers
Method
MessageIds
清除失效的消费队列
store/message_store.go:54
↓ 2 callers
Method
OffsetInQueueByTime
(topic string, queueId int32, timestamp int64)
store/message_store.go:35
↓ 2 callers
Function
ParentDirectory
(dir string)
common/file.go:22
↓ 2 callers
Function
ParseConfig
ParseConfig 解析配置文件
broker/config/parse.go:38
↓ 2 callers
Method
PrintAtDay
PrintAtDay 输出天统计 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:167
↓ 2 callers
Method
PrintAtHour
PrintAtHour 输出小时统计 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:158
↓ 2 callers
Method
PrintAtMinutes
PrintAtMinutes 输出分钟统计 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:149
↓ 2 callers
Method
Remove
(k string)
broker/server/producer_manager.go:291
↓ 2 callers
Method
RemoveByFlag
(fn func(k string, v map[int]int64) bool)
broker/server/offset_table.go:80
↓ 2 callers
Method
SamplingInHour
SamplingInHour 小时统计单元 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:209
↓ 2 callers
Method
SamplingInMinutes
SamplingInMinutes 分钟统计单元 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:192
↓ 2 callers
Method
SamplingInSeconds
SamplingInSeconds 秒统计单元 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:176
↓ 2 callers
Method
SelectOneMessageByOffset
通过物理队列Offset,查询消息。 如果发生错误,则返回null
store/message_store.go:37
↓ 2 callers
Method
Shutdown
Shutdown BrokerController停止入口 Author rongzhihong Since 2017/9/12
broker/server/controller.go:211
↓ 2 callers
Method
Size
()
stats/call_snapshot.go:50
↓ 2 callers
Method
Start
()
store/message_store.go:27
↓ 2 callers
Method
Start
()
stats/broker_stats.go:35
↓ 2 callers
Method
UpdateHaMasterAddress
(newAddr string)
store/message_store.go:50
↓ 2 callers
Method
appendMessageWithCallBack
appendMessageWithCallBack 向MappedBuffer追加消息 Return: appendNums 成功添加消息字节数 Author: tantexian, <tantexian@qq.com> Since: 2017/8/5
store/persistent/mapped_file.go:184
↓ 2 callers
Method
buildKey
buildKey 构造Key Author rongzhihong Since 2017/9/5
broker/server/pull_request_hold_service.go:53
↓ 2 callers
Method
callConsumer
callConsumer call Consumer Author rongzhihong Since 2017/9/19
broker/server/admin_processor.go:974
↓ 2 callers
Method
checkInDiskByCommitOffset
(offsetPy, maxOffsetPy int64)
store/persistent/message_store.go:784
↓ 2 callers
Method
commitOffset
CommitOffset 提交offset Author gaoyanlei Since 2017/9/10
broker/server/consumer_offset_manager.go:135
↓ 2 callers
Method
configFilePath
()
broker/server/config_manager.go:31
↓ 2 callers
Function
contains
contains 判断列表是否包含某元素 Author rongzhihong Since 2017/9/17
broker/server/producer_manager.go:221
↓ 2 callers
Method
correctMinOffset
(phyMinOffset int64)
store/persistent/consume_queue.go:88
↓ 2 callers
Function
create2WriteFile
(data []byte, filePath string)
common/file.go:87
↓ 2 callers
Function
defaultLocalAddress
()
broker/config/parse.go:167
↓ 2 callers
Function
defaultRootDir
()
broker/config/parse.go:139
↓ 2 callers
Method
deleteExpiredFile
(offset int64)
store/persistent/index.go:238
↓ 2 callers
Method
destroyLogics
()
store/persistent/message_store.go:367
↓ 2 callers
Method
doCommit
()
store/persistent/commit_log.go:657
↓ 2 callers
Method
doFlush
(retryTimes int32)
store/persistent/consume.go:37
↓ 2 callers
Method
doReput
()
store/persistent/reput_message.go:51
↓ 2 callers
Method
encodeOffsetTable
()
store/persistent/schedule.go:63
↓ 2 callers
Method
findSubscriptionDataCount
findSubscriptionDataCount 根据group查找订阅数量 Author rongzhihong Since 2017/9/18
broker/server/consumer_manager.go:186
↓ 2 callers
Function
fixPath
(path string)
broker/config/parse.go:119
↓ 2 callers
Method
getAndMakeDiskFull
()
store/persistent/running_flags.go:52
↓ 2 callers
Method
getAndMakeDiskOK
()
store/persistent/running_flags.go:58
↓ 2 callers
Method
getData
(offset int64)
store/persistent/commit_log.go:519
↓ 2 callers
Method
getDiskMaxUsedSpaceRatio
()
store/persistent/config.go:165
↓ 2 callers
Method
getEndTimestamp
()
store/persistent/index.go:385
↓ 2 callers
Method
getFirstMappedFile
()
store/persistent/mapped_file_queue.go:436
↓ 2 callers
Method
getKVConfig
getKVConfig 从Namesrv获取KV配置 Author: tianyuliang Since: 2017/9/6
namesrv/server/request_processor.go:301
↓ 2 callers
Method
getLastMappedFile2
()
store/persistent/mapped_file_queue.go:447
↓ 2 callers
Method
getMappedFileSizeConsumeQueue
()
store/persistent/config.go:160
↓ 2 callers
Method
getMinTimestamp
()
store/persistent/store_checkpoint.go:93
↓ 2 callers
Method
getPutMessageSizeTotal
()
stats/store_stats.go:207
↓ 2 callers
Function
getRetryTopic
(path string)
broker/server/utils.go:53
↓ 2 callers
Method
hasConsumeMessageHook
()
broker/server/pull_message_processor.go:351
↓ 2 callers
Method
hostStringToBytes
(hostAddr string)
store/persistent/commit_log.go:994
↓ 2 callers
Method
isAvailable
()
store/persistent/mapped_file.go:77
↓ 2 callers
Method
isCleanupOver
()
store/persistent/mapped_file.go:81
↓ 2 callers
Method
isFull
()
store/persistent/mapped_file.go:284
← previous
next →
101–200 of 1,049, ranked by callers