trait CachePacketChannel extends RequestPacketChannel
This channel is given to any fr.linkit.api.gnom.cache.SharedCache
(according to fr.linkit.api.gnom.cache.SharedCacheFactory)
and performs all the request sending and reception.
a CacheHandler can be set in order to complete requests or to perform
content handling (fr.linkit.api.gnom.cache.traffic.handler.CacheContentHandler), or
choose and get any information about the engines that are attaching to the cache (fr.linkit.api.gnom.cache.traffic.handler.CacheAttachHandler).
- See also
CacheHandler
fr.linkit.api.gnom.cache.traffic.handler.CacheContentHandler
- Alphabetic
- By Inheritance
- CachePacketChannel
- RequestPacketChannel
- PacketChannel
- PacketInjectable
- PacketAttributesPresence
- JustifiedCloseable
- AutoCloseable
- TrafficObject
- DynamicNetworkObject
- NetworkObject
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def addDefaultAttribute(key: Serializable, value: Serializable): CachePacketChannel.this.type
- Definition Classes
- PacketAttributesPresence
- abstract def addRequestListener(callback: (RequestPacketBundle) => Unit): Unit
- Definition Classes
- RequestPacketChannel
- abstract val cacheID: Int
This cache's identifier
- abstract def canInjectFrom(identifier: String): Boolean
- Definition Classes
- PacketInjectable
- abstract def close(reason: Reason): Unit
- Definition Classes
- JustifiedCloseable
- abstract def drainAllAttributes(packetAttributes: PacketAttributes): CachePacketChannel.this.type
- Definition Classes
- PacketAttributesPresence
- abstract def drainAllDefaultAttributes(packetAttributes: PacketAttributesPresence): CachePacketChannel.this.type
- Definition Classes
- PacketAttributesPresence
- abstract def getDefaultAttribute[S](key: Serializable): Option[S]
- Definition Classes
- PacketAttributesPresence
- abstract def getHandler: Option[CacheHandler]
- returns
Some(CacheHandler) if the handler is set, None instead
- abstract def inject(bundle: PacketBundle): Unit
- Definition Classes
- PacketInjectable
- Annotations
- @workerExecution()
- abstract def injectStoredBundles(): Unit
- Definition Classes
- PacketChannel
- abstract def isClosed: Boolean
- Definition Classes
- JustifiedCloseable
- abstract def makeRequest(scope: ChannelScope): Submitter[ResponseHolder]
- Definition Classes
- RequestPacketChannel
- abstract def makeRequest(scopeFactory: ScopeFactory[_ <: ChannelScope]): Submitter[ResponseHolder]
- Definition Classes
- RequestPacketChannel
- abstract val manager: SharedCacheManager
The manager of this channel's cache.
- abstract val ownerID: String
- Definition Classes
- PacketInjectable
- abstract def presence: NetworkObjectPresence
- Definition Classes
- DynamicNetworkObject
- abstract def reference: TrafficReference
The reference of this Network Object.
The reference of this Network Object.
- Definition Classes
- NetworkObject
- See also
NetworkObjectReference
- abstract def setHandler(handler: CacheHandler): Unit
sets the cache handler.
sets the cache handler.
- handler
the cache's handler
- Exceptions thrown
IllegalStateException
if the handler is already set.
- abstract def storeBundle(bundle: ChannelPacketBundle): Unit
- Definition Classes
- PacketChannel
- abstract val traffic: PacketTraffic
The traffic handler that is directly or not injecting the packets
The traffic handler that is directly or not injecting the packets
- Definition Classes
- PacketInjectable
- abstract val trafficPath: Array[Int]
- Definition Classes
- TrafficObject
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()
- def close(): Unit
- Definition Classes
- JustifiedCloseable → AutoCloseable
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOpen: Boolean
- Definition Classes
- JustifiedCloseable
- Annotations
- @inline()
- 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()
- 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