ActorThreadIsolatedObjectPool
cc.otavia.core.cache.ActorThreadIsolatedObjectPool
abstract class ActorThreadIsolatedObjectPool[T <: Poolable] extends AbstractThreadIsolatedObjectPool[T]
Attributes
- Graph
-
- Supertypes
-
class AbstractThreadIsolatedObjectPool[T]class ObjectPool[T]class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Get a object from the ObjectPool. The returned object may be created via newObject if no pooled object is ready to be reused.
Get a object from the ObjectPool. The returned object may be created via newObject if no pooled object is ready to be reused.
Attributes
- Definition Classes
- Inherited from:
- AbstractThreadIsolatedObjectPool
Creates a new Object which has been set Poolable.creator by the current thread.
Creates a new Object which has been set Poolable.creator by the current thread.
Attributes
- Returns
-
a new Poolable object.
- Inherited from:
- ObjectPool
Used by user to define how to create a new Poolable object.
Used by user to define how to create a new Poolable object.
Attributes
- Returns
-
a object which has not been set Poolable.creator.
- Inherited from:
- ObjectPool
Recycle the object if possible and so make it ready to be reused.
Recycle the object if possible and so make it ready to be reused.
Value parameters
- poolable
-
Poolable object T
Attributes
- Definition Classes
- Inherited from:
- AbstractThreadIsolatedObjectPool
Concrete fields
In this article