Documentation ¶
Index ¶
- type LockEntryTable
- func (lockTable *LockEntryTable) Foreach(fn func(k *message.MessageQueue, v *body.LockEntry))
- func (lockTable *LockEntryTable) Get(key *message.MessageQueue) *body.LockEntry
- func (lockTable *LockEntryTable) Put(key *message.MessageQueue, value *body.LockEntry)
- func (lockTable *LockEntryTable) Remove(key *message.MessageQueue)
- type MqLockTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockEntryTable ¶
LockEntryTable LockEntryTable Author rongzhihong Since 2017/9/20
func NewLockEntryTable ¶
func NewLockEntryTable() *LockEntryTable
func (*LockEntryTable) Foreach ¶
func (lockTable *LockEntryTable) Foreach(fn func(k *message.MessageQueue, v *body.LockEntry))
func (*LockEntryTable) Get ¶
func (lockTable *LockEntryTable) Get(key *message.MessageQueue) *body.LockEntry
func (*LockEntryTable) Put ¶
func (lockTable *LockEntryTable) Put(key *message.MessageQueue, value *body.LockEntry)
func (*LockEntryTable) Remove ¶
func (lockTable *LockEntryTable) Remove(key *message.MessageQueue)
type MqLockTable ¶
MqLockTable MqLockTable Author rongzhihong Since 2017/9/20
func NewMqLockTable ¶
func NewMqLockTable() *MqLockTable
func (*MqLockTable) Foreach ¶
func (lockTable *MqLockTable) Foreach(fn func(k string, v *LockEntryTable))
func (*MqLockTable) Get ¶
func (lockTable *MqLockTable) Get(key string) *LockEntryTable
func (*MqLockTable) Put ¶
func (lockTable *MqLockTable) Put(key string, value *LockEntryTable)
func (*MqLockTable) Remove ¶
func (lockTable *MqLockTable) Remove(key string)
Click to show internal directories.
Click to hide internal directories.