Packages

t

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

CacheContentHandler

trait CacheContentHandler[C <: CacheContent] extends CacheHandler

Handles the local content of the cache instance.
<u>This handler must not affect the content of other remote caches. it only affects the local content of the cache it handles.</u>

C

the type of content that must be set or get.

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

Abstract Value Members

  1. abstract def getContent: C

    returns

    the content contained in the cache. if lazyContentHandling is set to true, the returned content can be empty, or may not contain some elements that are present in the cache.

  2. abstract def getInitialContent: C

    The initial content sent to engines that connects to the cache.

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

    Handles a request packet bundle

    Handles a request packet bundle

    bundle

    the request to handle.

    Definition Classes
    CacheHandler
  4. abstract def initializeContent(content: C): Unit

    Sets the local content

    Sets the local content

    content

    the content that must be set.

  5. abstract val lazyContentHandling: Boolean
  6. abstract val objectLinker: Option[NetworkObjectLinker[_ <: SharedCacheReference] with TrafficInterestedNPH]

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 canAccessToContent(engine: Engine): Boolean

    Note: This method is only called if the handler handles a cache where its manager handles itself.

    Note: This method is only called if the handler handles a cache where its manager handles itself.

    returns

    true if the engine can access to the content, false instead

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  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. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  19. 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