Package dev.getelements.elements.appnode
Class ApplicationNode
java.lang.Object
dev.getelements.elements.appnode.ApplicationNode
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionApplicationNode(DefaultConfigurationSupplier defaultConfigurationSupplier, ApplicationNode.StorageDriver storageDriver) -
Method Summary
Modifier and TypeMethodDescriptionGets theWorkerfor thisApplicationNode.voidstart()Starts the ApplicationNode.voidstop()Stops the ApplicationNode.voidWaits for the ApplicationNode to shut down.
-
Constructor Details
-
ApplicationNode
public ApplicationNode(DefaultConfigurationSupplier defaultConfigurationSupplier, ApplicationNode.StorageDriver storageDriver)
-
-
Method Details
-
getWorker
Gets theWorkerfor thisApplicationNode.- Returns:
- the
Worker
-
start
public void start()Starts the ApplicationNode. -
stop
public void stop()Stops the ApplicationNode. -
waitForShutdown
Waits for the ApplicationNode to shut down.- Throws:
InterruptedException
-