InternMap

com.netflix.atlas.core.util.InternMap
See theInternMap companion object
trait InternMap[K <: AnyRef] extends Interner[K]

Attributes

Companion
object
Graph
Supertypes
trait Interner[K]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def intern(k: K): K

Returns a representative instance that is equal to the specified instance. Check the particular implementation before making any assumptions about the ability to just use reference equality on interned instances.

Returns a representative instance that is equal to the specified instance. Check the particular implementation before making any assumptions about the ability to just use reference equality on interned instances.

Attributes

def retain(f: Long => Boolean): Unit
def size: Int

Returns the number of items that are currently interned.

Returns the number of items that are currently interned.

Attributes