Package org.drasyl.monitoring
Class Monitoring
- java.lang.Object
-
- org.drasyl.monitoring.Monitoring
-
- All Implemented Interfaces:
AutoCloseable
,DrasylNodeComponent
public class Monitoring extends Object implements DrasylNodeComponent
Monitors various states or events in the drasyl Node.
-
-
Constructor Summary
Constructors Constructor Description Monitoring(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, DrasylPipeline pipeline)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Stops the component.void
open()
Starts the component.
-
-
-
Constructor Detail
-
Monitoring
public Monitoring(DrasylConfig config, PeersManager peersManager, CompressedPublicKey publicKey, DrasylPipeline pipeline)
-
-
Method Detail
-
open
public void open()
Description copied from interface:DrasylNodeComponent
Starts the component.- Specified by:
open
in interfaceDrasylNodeComponent
-
close
public void close()
Description copied from interface:DrasylNodeComponent
Stops the component.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceDrasylNodeComponent
-
-