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
Function
TestParseConfig
(t *testing.T)
broker/config/parse_test.go:20
Function
TestParseConfigError
(t *testing.T)
broker/config/parse_test.go:73
Function
TestPathExist
(t *testing.T)
common/file_test.go:33
Function
TestProtFlagsAndErr
(t *testing.T)
store/persistent/mmap/mmap_test.go:100
Function
TestRandReadWrite
(t *testing.T)
store/persistent/mmap/mmap_test.go:191
Function
TestReadWrite
(t *testing.T)
store/persistent/mmap/mmap_test.go:68
Function
TestSCWriteAndRead
(t *testing.T)
store/persistent/store_checkpoint_test.go:21
Function
TestUnmap
(t *testing.T)
store/persistent/mmap/mmap_test.go:52
Method
TpsGroupGetNums
TpsGroupGetNums 根据 Topic@Group 获得TPS Author rongzhihong Since 2017/9/17
stats/broker_stats.go:175
Method
UnmarshalJSON
UnmarshalJSON umarshall json - template of ffjson
broker/server/offset_table_ffjson.go:67
Method
UpdateHaMasterAddress
UpdateHaMasterAddress 更新HaMaster地址 Author: zhoufei Since: 2017/9/21
store/persistent/message_store.go:1025
Method
WriteInt16
(i int16)
store/persistent/mapped_byte_buffer.go:64
Method
WriteInt32
(i int32)
store/persistent/mapped_byte_buffer.go:70
Method
WriteInt64
(i int64)
store/persistent/mapped_byte_buffer.go:76
Method
WriteInt8
(i int8)
store/persistent/mapped_byte_buffer.go:58
Method
commit
(flushLeastPages int32)
store/persistent/consume_queue.go:356
Method
commit
(flushLeastPages int32)
store/persistent/mapped_file_queue.go:417
Method
compareTo
(request *allocateRequest)
store/persistent/allocate.go:46
Method
configFilePath
()
broker/server/consumer_offset_manager.go:80
Method
configFilePath
()
broker/server/topic_config_manager.go:378
Method
configFilePath
()
broker/server/subscription_group_manager.go:107
Method
decode
(buf []byte)
broker/server/consumer_offset_manager.go:71
Method
decode
(content []byte)
broker/server/topic_config_manager.go:361
Method
decode
(buf []byte)
broker/server/subscription_group_manager.go:98
Function
defaultConfig
()
store/persistent/config.go:95
Method
deleteExpiredFile
(offset int64)
store/persistent/consume_queue.go:452
Method
deleteKVConfig
deleteKVConfig 从Namesrv配置列表中,根据key删除对应的键值对 Author: tianyuliang Since: 2017/9/6
namesrv/server/kv_config_manager.go:169
Method
deleteKVConfigByValue
deleteKVConfigByValue 从指定Namespace配置中,根据value,删除对应的key键 Author: tianyuliang Since: 2017/9/6
namesrv/server/kv_config_manager.go:88
Method
destroy
()
store/persistent/index.go:226
Method
destroy
()
store/persistent/consume_queue.go:437
Method
destroy
(intervalForcibly int64)
store/persistent/mapped_file.go:288
Method
destroy
()
store/persistent/commit_log.go:561
Function
diskUsage
get Windows disk usage
common/statfs/statfs_windows.go:24
Method
doAppend
(fileFromOffset int64, byteBuffer *mappedByteBuffer, maxBlank int32, msg interface{})
store/persistent/commit_log.go:869
Method
doChannelCloseEvent
doChannelCloseEvent 通道关闭事件 Author rongzhihong Since 2017/9/8
broker/server/filter_server_manager.go:167
Method
doChannelCloseEvent
doChannelCloseEvent 扫描不活跃的通道 Author rongzhihong Since 2017/9/11
broker/server/consumer_manager.go:154
Method
doChannelCloseEvent
doChannelCloseEvent 关闭通道 Author rongzhihong Since 2017/9/11
broker/server/consumer_client.go:157
Method
encode
()
store/persistent/schedule.go:82
Method
encode
(prettyFormat bool)
broker/server/consumer_offset_manager.go:61
Method
encode
(prettyFormat bool)
broker/server/topic_config_manager.go:354
Method
encode
(prettyFormat bool)
broker/server/subscription_group_manager.go:91
Method
findChannel
findChannel 根据clientId获得通道 Author rongzhihong Since 2017/9/17
broker/server/consumer_client.go:270
Method
findSubscriptionData
(topic string)
broker/server/consumer_client.go:96
Method
flip
()
store/persistent/mapped_byte_buffer.go:135
Method
flush
()
store/persistent/mapped_byte_buffer.go:127
Method
getHasUnitSubTopicList
getHasUnitSubTopicList 获取中心向单元同步的所有topic列表 Author: tianyuliang Since: 2017/9/6
namesrv/server/route_info_manager.go:824
Method
getHasUnitSubUnUnitTopicList
GetHasUnitSubUnUnitTopicList 获取含有单元化订阅组的 非单元化Topic列表 Author: tianyuliang Since: 2017/9/6
namesrv/server/route_info_manager.go:847
Method
getKVConfig
getKVConfig 从指定Namespace配置中,根据key获取value值 Author: tianyuliang Since: 2017/9/6
namesrv/server/kv_config_manager.go:132
Method
getKVConfigByValue
getKVConfigByValue 从指定Namespace配置中,根据value,反向查找key列表,并将key列表通过分号;拼接为字符串 Author: tianyuliang Since: 2017/9/6
namesrv/server/kv_config_manager.go:111
Method
getKVListByNamespace
getKVListByNamespace 获取指定Namespace所有的KV配置List Author: tianyuliang Since: 2017/9/6
namesrv/server/kv_config_manager.go:146
Method
getLastAndLastMappedFile
()
store/persistent/mapped_file_queue.go:492
Method
getMappedMemorySize
()
store/persistent/mapped_file_queue.go:503
Method
getMaxOffset
()
store/persistent/mapped_file_queue.go:304
Method
getMinOffset
()
store/persistent/mapped_file_queue.go:293
Method
getTopicsByCluster
getTopicsByCluster 获取指定集群下的所有topic列表
namesrv/server/route_info_manager.go:763
Method
getUnitTopicList
getUnitTopics 获取单元逻辑下的所有topic列表
namesrv/server/route_info_manager.go:801
Method
gotoCheck
gotoCheck 回调检查方法 Author rongzhihong Since 2017/9/17
broker/server/transaction_check_supervisor.go:34
Method
hasRemainMessage
()
store/persistent/dispatch.go:147
Method
isReadable
()
store/persistent/running_flags.go:28
Method
isSystemTopic
(topic string)
broker/server/topic_config_manager.go:131
Method
load
(lastExitOK bool)
store/persistent/index.go:76
Method
load
()
store/persistent/index.go:490
Method
load
()
store/persistent/consume_queue.go:57
Method
load
load 从磁盘加载mappedfile到内存映射 Author: tantexian, <tantexian@qq.com> Since: 2017/8/8
store/persistent/mapped_file_queue.go:168
Method
load
()
store/persistent/schedule.go:86
Method
load
()
store/persistent/commit_log.go:70
Method
load
()
broker/server/consumer_offset_manager.go:57
Method
load
()
broker/server/topic_config_manager.go:350
Method
load
()
broker/server/subscription_group_manager.go:87
Function
lock
(addr, len uintptr)
store/persistent/mmap/mmap_windows.go:102
Function
main
()
namesrv/main.go:30
Function
main
()
sample/net/remoting/benchmark/client/client.go:34
Function
main
()
sample/net/remoting/benchmark/serve/server.go:72
Function
main
()
sample/net/remoting/simple/client/client.go:29
Function
main
()
sample/net/remoting/simple/serve/serve.go:86
Function
main
()
sample/net/core/multi/client/client.go:90
Function
main
()
sample/net/core/multi/serve/serve.go:54
Function
main
()
sample/net/core/simple/client/client.go:47
Function
main
()
sample/net/core/simple/serve/serve.go:41
Function
main
()
broker/main.go:31
Function
mmap
(len int, prot, flags, hfile uintptr, off int64)
store/persistent/mmap/mmap_windows.go:35
Function
newAllocateMappedFileService
()
store/persistent/allocate.go:64
Function
newReferenceResource
()
store/persistent/mapped_file.go:52
Method
notifyTransferSome
()
store/persistent/ha.go:457
Method
persist
()
broker/server/consumer_offset_manager.go:258
Method
putKVConfig
putKVConfig 向Namesrv追加KV配置 Author: tianyuliang Since: 2017/9/6
namesrv/server/kv_config_manager.go:185
Method
putMessagePostionInfo
(topic string, queueId int32, offset int64, size int64, tagsCode, storeTimestamp, logicOffset int64)
store/persistent/message_store.go:375
Method
putRequest
(request *groupCommitRequest)
store/persistent/ha.go:432
Method
putRequestAndReturnMappedFile
(nextFilePath string, nextNextFilePath string, filesize int64)
store/persistent/allocate.go:71
Method
queryTopicConsumeByWho
queryTopicConsumeByWho 根据topic查找消费者 Author rongzhihong Since 2017/9/18
broker/server/consumer_manager.go:199
Method
recover
()
store/persistent/consume_queue.go:124
Method
registerBroker
registerBroker 注册Broker 业务逻辑: (1)如果收到REGISTER_BROKER请求,那么最终会调用到routeInfoManager.registerBroker() (2)注册完成后,返回给Broker端主用Broker的地址和主用Broker的HA服务地址 返回值:
namesrv/server/route_info_manager.go:126
Method
registerFilterServer
registerFilterServer 注册FilterServer Author rongzhihong Since 2017/9/8
broker/server/filter_server_manager.go:117
Method
resetOffset
resetOffset Broker 主动通知 Consumer,offset列表发生变化,需要进行重置 Author rongzhihong Since 2017/9/18
broker/server/broker_client.go:83
Method
retryDeleteFirstFile
(intervalForcibly int64)
store/persistent/mapped_file_queue.go:507
Method
rollNextFile
(index int64)
store/persistent/consume_queue.go:82
Method
run
()
store/persistent/consume.go:113
Method
scanNotActiveChannel
scanNotActiveChannel 10s向Broker注册一次,Broker如果发现30s没有注册,则删除它 Author rongzhihong Since 2017/9/8
broker/server/filter_server_manager.go:142
Method
scanNotActiveChannel
scanNotActiveChannel 扫描不活跃的通道 Author rongzhihong Since 2017/9/11
broker/server/consumer_manager.go:116
Method
setlimit
(newlimit int)
store/persistent/mapped_byte_buffer.go:140
← previous
next →
901–1,000 of 1,049, ranked by callers