Package io.javago.sync
package io.javago.sync
Provides Java classes implementing the types and functions found in Go's
sync package.
For Java implementations of Go's sync.Lock, sync.Mutex, sync.RWMutex, and sync.Cond,
use Lock, ReentrantLock,
ReentrantReadWriteLock, and Condition
respectively.
For Java implementations of Go's sync.Atomic package, use the java.util.concurrent.atomic package.-
ClassDescriptionMap<K,
V> TheMapclass implements Go'ssync.Map.TheOnceclass implements Go'ssync.Once.TheOnceFuncclass implements Go'ssync.OnceFunc.OnceValue<T>TheOnceValueclass implements Go'ssync.OnceValue.OnceValues<S,T> TheOnceValuesclass implements Go'ssync.OnceValues.OnceValues.Values<S,T> A record that holds a pair of values.Pool<T>ThePoolclass implements Go'ssync.Pool.TheWaitGroupclass implements Go'ssync.WaitGroup.