final class LevelDBStandaloneSystem extends StandaloneSystem
- Alphabetic
- By Inheritance
- LevelDBStandaloneSystem
- StandaloneSystem
- Client
- DirectLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
var
_instances: Buffer[NodeInstance]
- Attributes
- protected
- Definition Classes
- StandaloneSystem
-
var
_isActive: Buffer[Boolean]
- Attributes
- protected
- Definition Classes
- StandaloneSystem
-
def
activeInstances: List[NodeInstance]
All instances which are active.
All instances which are active.
- Definition Classes
- StandaloneSystem
-
def
activeServers: Seq[LocalNodeClient]
- Definition Classes
- StandaloneSystem
-
val
actorMaterializer: ActorMaterializer
The actor materializer to use.
The actor materializer to use.
- Definition Classes
- StandaloneSystem → Client
-
val
addInstance: App[Int]
Add a new server instance.
Add a new server instance. Value returned is index of instance. A new instance is not inherintly joined to the cluster.
- Definition Classes
- StandaloneSystem
-
val
addNode: App[Int]
Add a new node to the cluster.
Add a new node to the cluster. Value returned is index of node's instance.
- Definition Classes
- StandaloneSystem
-
def
arbitraryActiveNodeAddress: prelude.Task[prelude.Address]
- Definition Classes
- StandaloneSystem
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
awaitTerm: App[Unit]
Await termination of the entire system.
Await termination of the entire system. this is where standalone waits for SIGINT/SIGKILL.
TODO: Nothing internally will succeed this promise. A SIGINT/SIGKILL result in either a failure or interruption error. 1. there should be a standalone UI to this. 2. SIGINT verified to always result in interrupt error. 2. SIGKILL verified to always result in failure.
- Definition Classes
- StandaloneSystem
-
val
baseURL: URL
- Definition Classes
- StandaloneSystem
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
downNode(nodeIndex: Int): AppTask[node.TermReason]
Down the node in the cluster.
Down the node in the cluster. This will not immediately shut down the node's server.
#112 verify the actor system will initiate shutdown once the down gossip reaches itself.
- Definition Classes
- StandaloneSystem
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
http: HttpExt
HTTP interface to use.
HTTP interface to use.
- Definition Classes
- StandaloneSystem → Client
-
def
initClusterToHealthy: App[Unit]
Init cluster and assert healthy or fail.
Init cluster and assert healthy or fail.
- Definition Classes
- StandaloneSystem
-
def
instances: Seq[NodeInstance]
- Definition Classes
- StandaloneSystem
-
def
isActive(index: Int): Boolean
- Definition Classes
- StandaloneSystem
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: prelude.Logger
- Attributes
- protected
- Definition Classes
- DirectLogging
-
val
maxOperationDuration: Finite
- Definition Classes
- StandaloneSystem → Client
-
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()
-
def
operationTimeout: prelude.Timeout
Operation timeout defaults to the max operation duration plus a bit.
Operation timeout defaults to the max operation duration plus a bit.
- Definition Classes
- Client
-
def
ops: Seq[LocalNodeClient]
- Definition Classes
- StandaloneSystem
-
val
prelude: Prelude
- Definition Classes
- StandaloneSystem
-
val
proxy: StandaloneProxy
- Definition Classes
- StandaloneSystem
-
def
removeNode(nodeIndex: Int): App[node.TermReason]
Request the given node terminate and wait for the node's termination.
Request the given node terminate and wait for the node's termination.
- Definition Classes
- StandaloneSystem
-
def
replaceNode(nodeIndex: Int): App[Int]
- Definition Classes
- StandaloneSystem
-
def
requireHealthy: prelude.Task[Unit]
- Definition Classes
- Client
-
def
requireOkResponse(request: prelude.AkkaHttp.HttpRequest): prelude.Task[prelude.AkkaHttp.ResponseEntity]
- Definition Classes
- Client
-
def
requireResponseCode(request: prelude.AkkaHttp.HttpRequest, expected: prelude.AkkaHttp.StatusCode): prelude.Task[prelude.AkkaHttp.ResponseEntity]
- Definition Classes
- Client
-
def
requireUnhealthy: prelude.Task[Unit]
- Definition Classes
- Client
-
def
resolveRelativeUri(uri: prelude.AkkaHttp.Uri): prelude.AkkaHttp.Uri
Standalone aggregrate client targets the proxy HTTP port.
Standalone aggregrate client targets the proxy HTTP port. Which then proxies the request to an active node.
- Definition Classes
- StandaloneSystem → Client
-
def
responseCodeAndEntity(request: prelude.AkkaHttp.HttpRequest): prelude.Task[(prelude.AkkaHttp.StatusCode, Strict)]
- Definition Classes
- Client
-
def
responseEntity(request: prelude.AkkaHttp.HttpRequest): prelude.Task[Strict]
- Definition Classes
- Client
-
def
responseJson(request: prelude.AkkaHttp.HttpRequest): prelude.Task[(prelude.AkkaHttp.StatusCode, JsValue)]
- Definition Classes
- Client
-
def
responseTxt(request0: prelude.AkkaHttp.HttpRequest): prelude.Task[(prelude.AkkaHttp.StatusCode, String)]
- Definition Classes
- Client
-
def
responseTxtAcceptAll(request: prelude.AkkaHttp.HttpRequest): prelude.Task[(prelude.AkkaHttp.StatusCode, String)]
- Definition Classes
- Client
-
def
servers: Seq[LocalNodeClient]
- Definition Classes
- StandaloneSystem
-
val
setup: Setup
- Definition Classes
- StandaloneSystem
-
def
shutdown: AppUIO[Unit]
Request all of the given servers instances to stop and wait until they have stopped.
Request all of the given servers instances to stop and wait until they have stopped.
Shutdown is not done concurrently for consistency with gradual node replacement in distributed clusters.
TODO: lift shutdown results to Set[TermReason] \/ app.Error
- Definition Classes
- StandaloneSystem
-
def
singleRequest(request: prelude.AkkaHttp.HttpRequest): prelude.Task[prelude.AkkaHttp.HttpResponse]
- Definition Classes
- Client
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
glngn server is a business process as a service rapid development system. Conceptually similar to Microsoft Access or Apple FileMaker (but scalable) for event sourced business services. In addition to a library, a standalone application is provided that is useful with minimal ceremony. This can be customized with a simple API. As well as deployed to a kubernetes cluster should those advantages be required.
A deployment is cluster glngn.server.Nodes serving a dynamic composition of glngn.server.ServiceFragments. Deployments are designed to be fully usable as a standalone local application or a kubernetes service.
Contact support@dogheadbone.com for support and licensing.