Versions in this module Expand all Collapse all v1 v1.0.0 Jan 3, 2019 Changes in this version + type ConcurrentMap struct + func CreateConcurrentMap(numOfPartitions int) *ConcurrentMap + func (m *ConcurrentMap) Del(key Partitionable) + func (m *ConcurrentMap) Get(key Partitionable) (interface{}, bool) + func (m *ConcurrentMap) Set(key Partitionable, v interface{}) + type ConcurrentMapBenchmarkAdapter struct + func CreateConcurrentMapBenchmarkAdapter(numOfPartitions int) *ConcurrentMapBenchmarkAdapter + func (m *ConcurrentMapBenchmarkAdapter) Del(key interface{}) + func (m *ConcurrentMapBenchmarkAdapter) Get(key interface{}) (interface{}, bool) + func (m *ConcurrentMapBenchmarkAdapter) Set(key interface{}, value interface{}) + type Int64Key struct + func I64Key(key int64) *Int64Key + func (i *Int64Key) PartitionKey() int64 + func (i *Int64Key) Value() interface{} + type Partitionable interface + PartitionKey func() int64 + Value func() interface{} + type RWLockMap struct + func CreateRWLockMap() *RWLockMap + func (m *RWLockMap) Del(key interface{}) + func (m *RWLockMap) Get(key interface{}) (interface{}, bool) + func (m *RWLockMap) Set(key interface{}, value interface{}) + type StringKey struct + func StrKey(key string) *StringKey + func (s *StringKey) PartitionKey() int64 + func (s *StringKey) Value() interface{} + type SyncMapBenchmarkAdapter struct + func CreateSyncMapBenchmarkAdapter() *SyncMapBenchmarkAdapter + func (m *SyncMapBenchmarkAdapter) Del(key interface{}) + func (m *SyncMapBenchmarkAdapter) Get(key interface{}) (interface{}, bool) + func (m *SyncMapBenchmarkAdapter) Set(key interface{}, val interface{})