maps

package
v0.0.0-...-0f2a12c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentMapBenchmarkAdapter

type ConcurrentMapBenchmarkAdapter struct {
	// contains filtered or unexported fields
}

func CreateConcurrentMapBenchmarkAdapter

func CreateConcurrentMapBenchmarkAdapter(numOfPartitions int) *ConcurrentMapBenchmarkAdapter

func (*ConcurrentMapBenchmarkAdapter) Del

func (m *ConcurrentMapBenchmarkAdapter) Del(key interface{})

func (*ConcurrentMapBenchmarkAdapter) Get

func (m *ConcurrentMapBenchmarkAdapter) Get(key interface{}) (interface{}, bool)

func (*ConcurrentMapBenchmarkAdapter) Set

func (m *ConcurrentMapBenchmarkAdapter) Set(key interface{}, value interface{})

type RWLockMap

type RWLockMap struct {
	// contains filtered or unexported fields
}

func CreateRWLockMap

func CreateRWLockMap() *RWLockMap

func (*RWLockMap) Del

func (m *RWLockMap) Del(key interface{})

func (*RWLockMap) Get

func (m *RWLockMap) Get(key interface{}) (interface{}, bool)

func (*RWLockMap) Set

func (m *RWLockMap) Set(key interface{}, value interface{})

type SyncMapBenchmarkAdapter

type SyncMapBenchmarkAdapter struct {
	// contains filtered or unexported fields
}

func CreateSyncMapBenchmarkAdapter

func CreateSyncMapBenchmarkAdapter() *SyncMapBenchmarkAdapter

func (*SyncMapBenchmarkAdapter) Del

func (m *SyncMapBenchmarkAdapter) Del(key interface{})

func (*SyncMapBenchmarkAdapter) Get

func (m *SyncMapBenchmarkAdapter) Get(key interface{}) (interface{}, bool)

func (*SyncMapBenchmarkAdapter) Set

func (m *SyncMapBenchmarkAdapter) Set(key interface{}, val interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL