Object/Class

razie.diesel.engine

DieselAppContext

Related Docs: class DieselAppContext | package engine

Permalink

object DieselAppContext extends Logging

an application static - engine factory, manager and cache

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

Type Members

  1. class cdebug extends AnyRef

    Permalink
    Definition Classes
    Logging
    Annotations
    @inline()
  2. class clog extends AnyRef

    Permalink
    Definition Classes
    Logging
    Annotations
    @inline()

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val DIESEL_DISPATCHER: String

    Permalink
  5. val activeActors: TrieMap[String, ActorRef]

    Permalink
  6. val activeEngines: TrieMap[String, DomEngine]

    Permalink

    active engines -ussed for routing so weak concurrent control ok

  7. def actorOf(props: Props, name: String = ""): ActorRef

    Permalink

    initialize the engine cache and actor infrastructure

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def audit(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  10. def audit(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  11. def cdebug: cdebug

    Permalink

    c++ memories, anyone...

    c++ memories, anyone... i do like to use the cout << x instead of println(x)

    Definition Classes
    Logging
    Annotations
    @inline()
  12. def clog: clog

    Permalink

    c++ memories, anyone...

    c++ memories, anyone... i do like to use the cout << x instead of println(x)

    Definition Classes
    Logging
    Annotations
    @inline()
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def ctx: DieselAppContext

    Permalink
  15. def debug(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  16. def debug(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def error(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  20. def error(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  21. implicit def executionContext: ExecutionContextExecutor

    Permalink
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def getActorSystem: ActorSystem

    Permalink

    get current system, if set, or make a default one

  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. def info(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  27. def info(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  28. def init(node: String = "", app: String = ""): DieselAppContext

    Permalink

    initialize the engine cache and actor infrastructure

  29. def initExecutors: List[Option[EExecutor]]

    Permalink
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. var localNode: String

    Permalink

    when in a cluster, you need to set this on startup...

  32. def log(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  33. def log(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  34. val logger: Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def mkEngine(dom: RDomain, root: DomAst, settings: DomEngineSettings, pages: List[DSpec], description: String): DomEngine

    Permalink

    the static version - delegates to factory

  36. def mkExecutionContext(): ExecutionContextExecutor

    Permalink

    use this actor system - defaults to creating its own

  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. def newlog(s: String): Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. def newlog(clazz: Class[_]): Log

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def report: String

    Permalink
  43. var router: Option[ActorRef]

    Permalink

    router - routes messages to individual engines

  44. var serviceStarted: Boolean

    Permalink

    these actors won't start processing unless this module/service is "started" they put a lot of load and slow down the init of the website and it's acting eratic so nothing is processed in the first 5 seconds or so...

  45. def simpleMode: Boolean

    Permalink

    when this is set, no multi-tenant or special thread pools and other features are used, you don't need to initialize too much infrastructure

  46. def slf4j: Logger

    Permalink

    use this if you want to log with slf4j conventions instead of the formatting conventions implemented here (String.format).

    use this if you want to log with slf4j conventions instead of the formatting conventions implemented here (String.format).

    Printf rules!

    Attributes
    protected
    Definition Classes
    Logging
  47. def start: Any

    Permalink

    start all actors

  48. def stop: Unit

    Permalink
  49. def stopActor(id: String): Option[Unit]

    Permalink
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def tee(message: ⇒ String): String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  52. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  53. def trace(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  54. def trace(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  55. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. def warn(message: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  59. def warn(message: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
    Annotations
    @inline()
  60. def withActorSystem(s: ActorSystem): DieselAppContext.type

    Permalink

    use this actor system - defaults to creating its own

  61. def withActorSystemFactory(s: () ⇒ ActorSystem): DieselAppContext.type

    Permalink

    todo poor man's injection - use guice or stomething

  62. def withSimpleMode(): DieselAppContext.type

    Permalink

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped