trait CacheAttachHandler extends CacheHandler
An handler that can get events when an engine attach or detach from the handled cache And, if the handler handles a cache managed by a manager that handles his own caches (see fr.linkit.api.gnom.cache.SharedCacheManager)
- Alphabetic
- By Inheritance
- CacheAttachHandler
- CacheHandler
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def handleBundle(bundle: RequestPacketBundle): Unit
Handles a request packet bundle
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def inspect(engine: Engine, cacheClass: Class[_], engineCacheType: Class[_]): Option[String]
Controls if an engine can attach to the handled cache.
Controls if an engine can attach to the handled cache. This method is called only on origin caches.
- engine
the tested engine
- returns
None if there is no reason for why the engine is not accepted, Some[String] to specify why the engine is not accepted.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def onEngineAttached(engine: Engine): Unit
Called when a Engine is accepted (see inspect()) and attaches to the handled cache.
Called when a Engine is accepted (see inspect()) and attaches to the handled cache. This method is called on all handlers of a cache
- engine
the engine that attaches to this cache.
- def onEngineDetached(engine: Engine): Unit
Called when an Engine is detached.
Called when an Engine is detached. This method is called on all handlers of a cache.
- engine
the engine that attaches to this cache.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated