Packages

t

fr.linkit.api.gnom.cache.traffic.handler

CacheAttachHandler

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)

Linear Supertypes
CacheHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CacheAttachHandler
  2. CacheHandler
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def handleBundle(bundle: RequestPacketBundle): Unit

    Handles a request packet bundle

    Handles a request packet bundle

    bundle

    the request to handle.

    Definition Classes
    CacheHandler

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. 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.

  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. 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.

  16. 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.

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from CacheHandler

Inherited from AnyRef

Inherited from Any

Ungrouped