case class Policy(f: Pf, expire: Int, noDequeue: Boolean = false)(implicit line: Line) extends Product with Serializable

The decision made by Router.

Used by Policy to enforce non-local formatting.

f

is applied to every decision until expire

expire

The latest token offset.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Policy
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Policy(f: Pf, expire: Int, noDequeue: Boolean = false)(implicit line: Line)

    f

    is applied to every decision until expire

    expire

    The latest token offset.

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. def andThen(otherF: Pf, minExpire: Int = 0): Policy

    Similar to PartialFunction.andThen, except applies second pf even if the first pf is not defined at argument.

  5. def andThen(other: Policy): Policy
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val expire: Int
  10. val f: Pf
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isEmpty: Boolean
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. implicit val line: Line
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. val noDequeue: Boolean
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def orElse(other: Option[Policy]): Policy
  21. def orElse(other: Policy): Policy
  22. def orElse(other: Pf, minExpire: Int = 0): Policy
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    Policy → AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped