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 theWorker
for thisApplicationNode
.void
start()
Starts the ApplicationNode.void
stop()
Stops the ApplicationNode.void
Waits for the ApplicationNode to shut down.
-
Constructor Details
-
ApplicationNode
public ApplicationNode(DefaultConfigurationSupplier defaultConfigurationSupplier, ApplicationNode.StorageDriver storageDriver)
-
-
Method Details
-
getWorker
Gets theWorker
for 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
-