net.liftweb.util

AnyVar

class AnyVar [T, MyType <: AnyVar[T, MyType]] extends AnyVarTrait[T, MyType]

Attributes
abstract
Self Type
MyType
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. AnyVar
  2. AnyVarTrait
  3. HasCalcDefaultValue
  4. PSettableValueHolder
  5. SettableValueHolder
  6. Settable
  7. PValueHolder
  8. ValueHolder
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnyVar (dflt: ⇒ T)

Type Members

  1. type CleanUpParam

    Attributes
    abstract
    Definition Classes
    AnyVarTrait
  2. type ValueType = T

    Definition Classes
    PValueHolderValueHolder

Abstract Value Members

  1. def clearFunc (name: String): Unit

    Attributes
    protected abstract
    Definition Classes
    AnyVarTrait
  2. def doSync [F] (f: ⇒ F): F

    Different Vars require different mechanisms for synchronization.

    Different Vars require different mechanisms for synchronization. This method implements the Var specific synchronization mechanism

    Attributes
    abstract
    Definition Classes
    AnyVarTrait
  3. def findFunc (name: String): Box[T]

    Attributes
    protected abstract
    Definition Classes
    AnyVarTrait
  4. def registerCleanupFunc (in: (CleanUpParam) ⇒ Unit): Unit

    Attributes
    protected abstract
    Definition Classes
    AnyVarTrait
  5. def setFunc (name: String, value: T): Unit

    Attributes
    protected abstract
    Definition Classes
    AnyVarTrait
  6. def testWasSet (name: String): Boolean

    A non-side-effecting test if the value was initialized

    A non-side-effecting test if the value was initialized

    Attributes
    protected abstract
    Definition Classes
    AnyVarTrait
  7. def wasInitialized (name: String): Boolean

    Attributes
    protected abstract
    Definition Classes
    AnyVarTrait

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def __nameSalt : String

    Attributes
    protected
    Definition Classes
    AnyVarTrait
  7. def apply (what: T): T

    Set the session variable

    Set the session variable

    what

    -- the value to set the session variable to

    Definition Classes
    AnyVarTrait
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def atomicUpdate (f: (ValueType) ⇒ ValueType): ValueType

    Perform an atomic update of this Settable.

    Perform an atomic update of this Settable. The current value is passed to the function and the ValueHolder is set to the result of the function. This is enclosed in the performAtomicOperation method which will, by default, synchronize this instance

    Definition Classes
    Settable
  10. def calcDefaultValue : T

    Attributes
    protected
    Definition Classes
    AnyVarAnyVarTraitHasCalcDefaultValue
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def doWith [F] (newVal: T)(f: ⇒ F): F

    Change the value of the Var for the lifespan of the function

    Change the value of the Var for the lifespan of the function

    Definition Classes
    AnyVarTrait
  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def get : T

    Shadow of the 'is' method

    Shadow of the 'is' method

    Definition Classes
    AnyVarTraitValueHolder
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  18. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  19. def is : T

    The current value of the variable

    The current value of the variable

    Definition Classes
    AnyVarTraitValueHolder
  20. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  21. lazy val name : String

    Attributes
    protected
    Definition Classes
    AnyVarTrait
  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def onShutdown (session: CleanUpParam): Unit

    Attributes
    protected
    Definition Classes
    AnyVarTrait
  26. def performAtomicOperation [T] (f: ⇒ T): T

    Perform an atomic operation on the Settable.

    Perform an atomic operation on the Settable. By default synchronizes the instance, but it could use other mechanisms

    Definition Classes
    Settable
  27. def registerGlobalCleanupFunc (in: (CleanUpParam) ⇒ Unit): Unit

    Attributes
    protected final
    Definition Classes
    AnyVarTrait
  28. def remove (): Unit

    Definition Classes
    AnyVarTrait
  29. def set (what: T): T

    Shadow of the apply method

    Shadow of the apply method

    Definition Classes
    AnyVarTraitSettable
  30. def setIsUnset (value: ⇒ T): T

    Set the Var if it has not been calculated

    Set the Var if it has not been calculated

    Definition Classes
    AnyVarTrait
  31. def set_? : Boolean

    Has this Var been set or accessed and had its default value calculated

    Has this Var been set or accessed and had its default value calculated

    Definition Classes
    AnyVarTrait
  32. def settingDefault_? : Boolean

    Attributes
    protected
    Definition Classes
    AnyVarTrait
  33. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  34. def toString (): String

    Definition Classes
    AnyVarTrait → AnyRef → Any
  35. def update (f: (T) ⇒ T): T

    Applies the given function to the contents of this variable and sets the variable to the resulting value.

    Applies the given function to the contents of this variable and sets the variable to the resulting value.

    f

    -- the function to apply and set the result from.

    Definition Classes
    AnyVarTrait
  36. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyVarTrait[T, MyType]

Inherited from HasCalcDefaultValue[T]

Inherited from PSettableValueHolder[T]

Inherited from SettableValueHolder

Inherited from Settable

Inherited from PValueHolder[T]

Inherited from ValueHolder

Inherited from AnyRef

Inherited from Any