J.Concurrent.Counter

opaque type Counter

Thread safe, minimal overhead counter based on java.util.concurrent.atomic.AtomicLong.

Source
Counter.scala

Def

inline def get: Int
inline def getLong: Long
inline def next: Int
inline def nextLong: Long
inline def real: java.util.concurrent.atomic.AtomicLong

Real value

Real value

Returns real value standing behind the opaque type.

This is a zero cost call.

Inherited from
_methods
Source
Base.scala