Versions in this module Expand all Collapse all v4 v4.7.1 Jul 11, 2023 Changes in this version + type Array struct + func NewArray(length int) *Array + func (aa *Array) Get(idx int) interface{} + func (aa *Array) Length() int + func (aa *Array) Set(idx int, node interface{}) error + type Bool struct + func NewBool(value bool) *Bool + func (ab *Bool) CompareAndToggle(expect bool) bool + func (ab *Bool) Get() bool + func (ab *Bool) Or(newVal bool) bool + func (ab *Bool) Set(newVal bool) + type Int struct + func NewInt(value int) *Int + func (ai *Int) AddAndGet(delta int) int + func (ai *Int) CompareAndSet(expect int, update int) bool + func (ai *Int) DecrementAndGet() int + func (ai *Int) Get() int + func (ai *Int) GetAndAdd(delta int) int + func (ai *Int) GetAndDecrement() int + func (ai *Int) GetAndIncrement() int + func (ai *Int) GetAndSet(newValue int) int + func (ai *Int) IncrementAndGet() int + func (ai *Int) Set(newValue int) + type Queue struct + func NewQueue(size int) *Queue + func (q *Queue) Offer(obj interface{}) bool + func (q *Queue) Poll() (res interface{}) + type SyncVal struct + func NewSyncVal(val interface{}) *SyncVal + func (sv *SyncVal) Get() interface{} + func (sv *SyncVal) GetSyncedVia(f func(interface{}) (interface{}, error)) (interface{}, error) + func (sv *SyncVal) Set(val interface{}) + func (sv *SyncVal) Update(f func(interface{}) (interface{}, error)) error Other modules containing this package github.com/aerospike/aerospike-client-go github.com/aerospike/aerospike-client-go/v5 github.com/aerospike/aerospike-client-go/v6 github.com/aerospike/aerospike-client-go/v7 github.com/aerospike/aerospike-client-go/v8