object StubServer extends Application with DurableQueueProvider with RawStorageProvider with SecretStoreProvider
- Alphabetic
- By Inheritance
- StubServer
- SecretStoreProvider
- Provider
- RawStorageProvider
- Provider
- DurableQueueProvider
- Provider
- Application
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def acquireDurableQueue()(implicit system: ActorSystem): Client
- Definition Classes
- DurableQueueProvider → Provider
- def acquireRawStorage()(implicit system: ActorSystem): FileSystemRawStorage
- Definition Classes
- RawStorageProvider → Provider
- def acquireSecretStore()(implicit system: ActorSystem): IOxSecretStore
- Definition Classes
- SecretStoreProvider → Provider
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def main(args: Array[String], context: ApplicationContext): Unit
The main entry point.
The main entry point. All application's must implement this.
- args
Command line arguments passed in from the outside
- context
An application context of Streambed services
- Definition Classes
- StubServer → Application
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trap(signal: Int): Boolean
A receiver of Unix signals received by the application.
A receiver of Unix signals received by the application.
This method can be entirely overridden without having to call any super method.
By default, SIGTERM and SIGINT are handled. Furthermore, if this method returns false for SIGTERM or SIGINT then their default handling will occur.
The default behavior of SIGTERM and SIGINT is to invoke System.exit with an appropriate code. This will initiate Akka's CoordinatedShutdown mechanism and shutdown other services including the tracer and metrics. Please refer to the ApplicationContext to understand the scope of services that will be shutdown.
You should should generally use Akka's shutdown mechanisms to orchestrate any required shutdown behavior i.e. CoordinatedShutdown.
Note that this thread will NOT be called on the same thread as the main method and that you should take care to synchronize its activities.
- returns
A boolean indicating if the signal was handled. If it was not handled, default signal handling will take effect.
- Definition Classes
- Application
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()