Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartitionCache ¶
type PartitionCache[K comparable, V any] struct { // contains filtered or unexported fields }
func Make ¶
func Make[K comparable, V any](maker map_cache.Maker[K, V], n int, cn int) *PartitionCache[K, V]
func MakeSafe ¶
func MakeSafe[K comparable, V any](maker map_cache.SafeMaker[K, V], n int, cn int) *PartitionCache[K, V]
func (*PartitionCache[K, V]) All ¶
func (c *PartitionCache[K, V]) All() iter.Seq[V]
func (*PartitionCache[K, V]) Delete ¶
func (c *PartitionCache[K, V]) Delete(key K)
func (*PartitionCache[K, V]) Get ¶
func (c *PartitionCache[K, V]) Get(k K) (v V, ok bool)
func (*PartitionCache[K, V]) Len ¶
func (c *PartitionCache[K, V]) Len() int
func (*PartitionCache[K, V]) Put ¶
func (c *PartitionCache[K, V]) Put(key K, v V)
func (*PartitionCache[K, V]) Scan ¶
func (c *PartitionCache[K, V]) Scan() iter.Seq2[K, V]
Click to show internal directories.
Click to hide internal directories.