cc.otavia.core.cache
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class ActorThreadIsolatedObjectPool[T]class ThreadIsolatedObjectPool[T]
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
-
class AbstractThreadIsolatedObjectPool[T]class ObjectPool[T]class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class ObjectPoolThreadLocal[T]
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ActorThreadLocal.type
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Light-weight object pool.
Light-weight object pool.
Type parameters
- T
-
the type of the pooled object
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AbstractThreadIsolatedObjectPool[T]class ActorThreadIsolatedObjectPool[T]class ThreadIsolatedObjectPool[T]
An object which can be pooled
An object which can be pooled
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ChannelFutureStateclass FutureState[R]class FuturesState[R]class AbstractPromise[V]class Stackclass AskStack[A]class BatchAskStack[A]class BatchNoticeStack[N]class ChannelStack[T]class NoticeStack[N]Show all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SingleThreadPoolableHolder[T]
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ThreadLocalTimer
Attributes
- Supertypes
Attributes
- Supertypes
-
class AbstractThreadIsolatedObjectPool[T]class ObjectPool[T]class Objecttrait Matchableclass Any
A special variant of ThreadLocal that yields higher access performance when accessed from a ActorThread.
A special variant of ThreadLocal that yields higher access performance when accessed from a ActorThread.
Internally, a ThreadLocal uses a constant index in an array, instead of using hash code and hash table, to look for a variable. Although seemingly very subtle, it yields slight performance advantage over using a hash table, and it is useful when accessed frequently.
To take advantage of this thread-local variable, your thread must be a ActorThread. By default, all actors and channel are running by ActorThread.
Type parameters
- V
-
the type of the thread-local variable
Attributes
- See also
-
java.lang.ThreadLocal
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ThreadLocal.type
Attributes
- Supertypes