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
Method
ExcuteDeleteFilesManualy
()
store/persistent/message_store.go:1117
Function
File2String
File2String 读取文件内容
common/file.go:119
Method
Foreach
(fn func(k *message.MessageQueue, v *LockEntry))
broker/rebalance/lock_entry_table.go:64
Method
Foreach
(fn func(k string, v *LockEntryTable))
broker/rebalance/mq_lock_table.go:62
Method
Get
(key *message.MessageQueue)
broker/rebalance/lock_entry_table.go:42
Method
Get
(key string)
broker/rebalance/mq_lock_table.go:40
Method
Get
get 获得key对应的value Author rongzhihong Since 2017/9/5
broker/server/longpolling/pull_request_table.go:57
Method
GetCommitLogData
GetCommitLogData 数据复制使用:获取CommitLog数据 Author: zhoufei Since: 2017/10/23
store/persistent/message_store.go:386
Function
GetConfigEnvValue
获取配置文件路径。1. 传入参数得到路径 2.传入参数为空,从环境变量得到路径。 以上都未得到,返回默认路径。
common/env.go:36
Function
GetDelayOffsetStorePath
(rootDir string)
common/disk.go:70
Function
GetDiskPartitionSpaceUsedPercent
获取磁盘分区空间使用率
common/disk.go:24
Method
GetGetMessageTransferedMsgCount
()
stats/store_stats.go:172
Method
GetMessage
(group string, topic string, queueId int32, offset int64, maxMsgNums int32, subscriptionData *heartbeat.Subsc
store/persistent/message_store.go:627
Method
GetMsgGetTotalTodayMorning
()
stats/sstats/broker_stats_related_store_service.go:80
Method
GetMsgGetTotalTodayNow
GetMsgGetTotalTodayNow 获得当前get消息的次数 Author rongzhihong Since 2017/9/12
stats/sstats/broker_stats_related_store_service.go:68
Method
GetMsgGetTotalYesterdayMorning
()
stats/sstats/broker_stats_related_store_service.go:84
Method
GetMsgPutTotalTodayMorning
()
stats/sstats/broker_stats_related_store_service.go:72
Method
GetMsgPutTotalTodayNow
GetMsgPutTotalTodayNow 获得当前put消息的次数 Author rongzhihong Since 2017/9/12
stats/sstats/broker_stats_related_store_service.go:61
Method
GetMsgPutTotalYesterdayMorning
()
stats/sstats/broker_stats_related_store_service.go:76
Method
GetSinglePutMessageTopicSizeTotal
(topic string)
stats/store_stats.go:489
Method
GetSinglePutMessageTopicTimesTotal
(topic string)
stats/store_stats.go:533
Method
GetStatsDataInDay
GetStatsDataInDay 获得statsKey每天统计数据 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:302
Method
GetStatsDataInHour
GetStatsDataInHour 获得statsKey每小时统计数据 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:288
Method
GetStatsDataInMinute
GetStatsDataInMinute 获得statsKey每分钟统计数据 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:274
Method
GetStatsItem
NewStatsItemSet 获得statsKey的统计单元 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:316
Method
GetStatsItem
GetStatsItem 根据statsName、statsKey获得统计数据 Author rongzhihong Since 2017/9/17
stats/broker_stats.go:114
Function
GetStorePathAbortFile
(rootDir string)
common/disk.go:66
Function
GetStorePathCheckpoint
(rootDir string)
common/disk.go:62
Function
GetStorePathCommitLog
(rootDir string)
common/disk.go:50
Function
GetStorePathConsumeQueue
(rootDir string)
common/disk.go:54
Function
GetStorePathIndex
(rootDir string)
common/disk.go:58
Function
GetTranRedoLogStorePath
(rootDir string)
common/disk.go:78
Function
GetTranStateTableStorePath
(rootDir string)
common/disk.go:74
Method
HookName
()
broker/trace/consume_message_hook.go:20
Method
IncBrokerGetNums
IncBrokerGetNums broker Get消息个数加incValue Author rongzhihong Since 2017/9/17
stats/broker_stats.go:160
Method
IncBrokerPutNums
incBrokerPutNums broker Put消息次数加1 Author rongzhihong Since 2017/9/17
stats/broker_stats.go:152
Method
IncGroupGetNums
IncGroupGetNums Topic@Group Get消息个数加incValue Author rongzhihong Since 2017/9/17
stats/broker_stats.go:138
Method
IncGroupGetSize
IncGroupGetSize Topic@Group Get消息流量增加incValue Author rongzhihong Since 2017/9/17
stats/broker_stats.go:145
Method
IncSendBackNums
IncSendBackNums Topic@Group 重试Put次数加1 Author rongzhihong Since 2017/9/17
stats/broker_stats.go:168
Method
IncTopicPutNums
IncTopicPutNums Topic Put次数加1 Author rongzhihong Since 2017/9/17
stats/broker_stats.go:124
Method
IncTopicPutSize
IncTopicPutSize Topic Put流量增加size Author rongzhihong Since 2017/9/17
stats/broker_stats.go:131
Method
Init
Init 初始化 Author rongzhihong Since 2017/9/19
stats/moment_stats_item_set.go:47
Method
Init
Init 统计单元集合初始化 Author rongzhihong Since 2017/9/19
stats/stats_item_set.go:327
Function
IsBlank
IsBlank 是否为空 Author: rongzhihong Since: 2017/9/19
common/valid.go:23
Method
IsMessageMatched
(subscriptionData *heartbeat.SubscriptionData, tagsCode int64)
store/persistent/message_filter.go:35
Method
Less
(i, j int)
store/persistent/index.go:43
Method
Load
Load 加载NamesrvController必要的资源
namesrv/server/controller.go:53
Method
Load
Load
store/persistent/message_store.go:127
Method
LookMessageByOffset
LookMessageByOffset 通过物理队列Offset,查询消息。 如果发生错误,则返回null Author: zhoufei Since: 2017/9/20
store/persistent/message_store.go:822
Method
MarshalJSON
MarshalJSON marshal bytes to json - template
broker/server/offset_table_ffjson.go:24
Method
MaxOffsetInQueue
MaxOffsetInQueue 获取指定队列最大Offset 如果队列不存在,返回-1 Author: zhoufei Since: 2017/9/20
store/persistent/message_store.go:319
Method
MaxPhyOffset
MaxPhyOffset 获取物理队列最大offset Author: zhoufei Since: 2017/10/24
store/persistent/message_store.go:398
Method
MessageIds
MessageIds 批量获取MessageId Author: zhoufei Since: 2017/9/21
store/persistent/message_store.go:1050
Method
MessageStoreTimeStamp
MessageStoreTimeStamp 获取队列中存储时间,如果找不到对应时间,则返回-1 Author: zhoufei Since: 2017/9/21
store/persistent/message_store.go:973
Method
MessageTotalInQueue
(topic string, queueId int32)
store/message_store.go:45
Method
MessageTotalInQueue
(topic string, queueId int32)
store/persistent/message_store.go:1120
Method
MinOffsetInQueue
MinOffsetInQueue 获取指定队列最小Offset 如果队列不存在,返回-1 Author: zhoufei Since: 2017/9/20
store/persistent/message_store.go:852
Method
MinPhyOffset
获取物理队列最大offset
store/message_store.go:42
Method
MinPhyOffset
()
store/persistent/message_store.go:1124
Function
NewBrokerController
NewBrokerController 创建BrokerController对象
broker/server/controller.go:69
Function
NewBrokerStats
(clusterName string)
stats/broker_stats.go:58
Function
NewBrokerStatsRelatedStore
(messageStore store.MessageStore)
stats/sstats/broker_stats_related_store_service.go:33
Function
NewCallOuterService
NewCallOuterService 初始化 Author gaoyanlei Since 2017/8/22
broker/client/call_outer_service.go:45
Function
NewConfig
(storeRootDir string)
store/persistent/config.go:91
Function
NewLockEntry
()
broker/rebalance/lock_entry.go:37
Function
NewLockEntryTable
()
broker/rebalance/lock_entry_table.go:30
Function
NewMQLockTable
()
broker/rebalance/mq_lock_table.go:28
Function
NewManyMessageTransfer
NewManyMessageTransfer 初始化 Author rongzhihong Since 2017/9/17
broker/server/pagecache/many_message_transfer.go:34
Function
NewMessageStore
(config *Config, brokerStats stats.BrokerStats)
store/persistent/message_store.go:80
Function
NewNamesrvController
NewNamesrvController 初始化默认的NamesrvController Author: tianyuliang Since: 2017/9/12
namesrv/server/controller.go:37
Function
NewOneMessageTransfer
NewOneMessageTransfer 初始化OneMessageTransfer Author rongzhihong Since 2017/9/17
broker/server/pagecache/one_message_transfer.go:32
Function
NewPullRequest
(requestCommand *protocol.RemotingCommand, ctx core.Context, timeoutMillis, suspendTimestamp, pullFromThisOffs
broker/server/longpolling/pull_request.go:32
Function
NewPullRequestTable
newPullRequestTable 初始化消息集合 Author rongzhihong Since 2017/9/5
broker/server/longpolling/pull_request_table.go:29
Function
NewQueryMessageResult
()
store/get_message.go:132
Function
NewQueryMessageTransfer
NewOneMessageTransfer 初始化OneMessageTransfer Author rongzhihong Since 2017/9/17
broker/server/pagecache/query_message_transfer.go:34
Function
NewSendMessageContext
NewSendMessageContext 初始化 Author gaoyanlei Since 2017/8/15
broker/trace/send_message_context.go:37
Function
NewStoreStats
()
stats/store_stats.go:78
Function
NewTOPAddr
NewTOPAddr TOPAddr Author gaoyanlei Since 2017/8/9
broker/client/top_addr.go:39
Method
OffsetInQueueByTime
OffsetInQueueByTime 根据消息时间获取某个队列中对应的offset 1、如果指定时间(包含之前之后)有对应的消息,则获取距离此时间最近的offset(优先选择之前) 2、如果指定时间无对应消息,则返回0 Author: zhoufei Since: 2017/9/21
store/persistent/message_store.go:911
Method
OnContextActive
OnContextActive 创建Channel连接
namesrv/server/broker_house_keeping_listener.go:36
Method
OnContextActive
(ctx core.Context)
sample/net/remoting/benchmark/serve/server.go:52
Method
OnContextActive
(ctx core.Context)
sample/net/remoting/simple/serve/serve.go:66
Method
OnContextActive
(ctx core.Context)
sample/net/core/multi/client/client.go:37
Method
OnContextActive
(ctx core.Context)
sample/net/core/multi/serve/serve.go:32
Method
OnContextActive
(ctx core.Context)
sample/net/core/simple/client/client.go:26
Method
OnContextActive
(ctx core.Context)
sample/net/core/simple/serve/serve.go:25
Method
OnContextActive
OnContextActive 连接创建 Author: luoji, <gunsluo@gmail.com> Since: 2018-01-07
broker/server/client_house_keeping_service.go:84
Method
OnContextClosed
OnContextClose 关闭Channel,通知Topic路由管理器,清除无效Broker Author: tianyuliang Since: 2017/9/6
namesrv/server/broker_house_keeping_listener.go:50
Method
OnContextClosed
(ctx core.Context)
sample/net/remoting/benchmark/serve/server.go:60
Method
OnContextClosed
(ctx core.Context)
sample/net/remoting/simple/serve/serve.go:74
Method
OnContextClosed
(ctx core.Context)
sample/net/core/multi/client/client.go:56
Method
OnContextClosed
(ctx core.Context)
sample/net/core/multi/serve/serve.go:42
Method
OnContextClosed
(ctx core.Context)
sample/net/core/simple/client/client.go:39
Method
OnContextClosed
(ctx core.Context)
sample/net/core/simple/serve/serve.go:33
Method
OnContextClosed
OnContextClose 监听通道关闭 Author rongzhihong Since 2017/9/8
broker/server/client_house_keeping_service.go:98
Method
OnContextConnect
OnContextConnect 创建Channel连接 Author: tianyuliang Since: 2017/9/6
namesrv/server/broker_house_keeping_listener.go:43
Method
OnContextConnect
(ctx core.Context)
sample/net/remoting/benchmark/serve/server.go:56
Method
OnContextConnect
(ctx core.Context)
sample/net/remoting/simple/serve/serve.go:70
Method
OnContextConnect
(ctx core.Context)
sample/net/core/multi/client/client.go:42
Method
OnContextConnect
(ctx core.Context)
sample/net/core/multi/serve/serve.go:37
← previous
next →
701–800 of 1,049, ranked by callers