Documentation ¶
Overview ¶
Copyright (C) 2023 wwhai
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) SiemensPoint later version.
This program is distributed in the hope that it will be useful, but WITHOUT SiemensPoint WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- func DeleteValue(Slot, K string)
- func Flush()
- func GetSlot(Slot string) map[string]SiemensPoint
- func InitSiemensPointCache(ruleEngine typex.RuleX) intercache.InterCache
- func RegisterSlot(Slot string)
- func SetValue(Slot, K string, V SiemensPoint)
- func Size() uint64
- func UnRegisterSlot(Slot string)
- type SiemensPoint
- type SiemensPointCache
- func (M *SiemensPointCache) DeleteValue(Slot, K string)
- func (M *SiemensPointCache) Flush()
- func (M *SiemensPointCache) GetSlot(Slot string) map[string]SiemensPoint
- func (M *SiemensPointCache) GetValue(Slot, K string) SiemensPoint
- func (M *SiemensPointCache) RegisterSlot(Slot string)
- func (M *SiemensPointCache) SetValue(Slot, K string, V SiemensPoint)
- func (M *SiemensPointCache) Size() uint64
- func (M *SiemensPointCache) UnRegisterSlot(Slot string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteValue ¶
func DeleteValue(Slot, K string)
func GetSlot ¶
func GetSlot(Slot string) map[string]SiemensPoint
func InitSiemensPointCache ¶
func InitSiemensPointCache(ruleEngine typex.RuleX) intercache.InterCache
func RegisterSlot ¶
func RegisterSlot(Slot string)
func SetValue ¶
func SetValue(Slot, K string, V SiemensPoint)
func UnRegisterSlot ¶
func UnRegisterSlot(Slot string)
Types ¶
type SiemensPointCache ¶
type SiemensPointCache struct { Slots map[string]map[string]SiemensPoint // contains filtered or unexported fields }
func (*SiemensPointCache) DeleteValue ¶
func (M *SiemensPointCache) DeleteValue(Slot, K string)
func (*SiemensPointCache) Flush ¶
func (M *SiemensPointCache) Flush()
func (*SiemensPointCache) GetSlot ¶
func (M *SiemensPointCache) GetSlot(Slot string) map[string]SiemensPoint
func (*SiemensPointCache) GetValue ¶
func (M *SiemensPointCache) GetValue(Slot, K string) SiemensPoint
func (*SiemensPointCache) RegisterSlot ¶
func (M *SiemensPointCache) RegisterSlot(Slot string)
func (*SiemensPointCache) SetValue ¶
func (M *SiemensPointCache) SetValue(Slot, K string, V SiemensPoint)
func (*SiemensPointCache) Size ¶
func (M *SiemensPointCache) Size() uint64
func (*SiemensPointCache) UnRegisterSlot ¶
func (M *SiemensPointCache) UnRegisterSlot(Slot string)