Package com.aitusoftware.aether
Class Aether
- java.lang.Object
-
- com.aitusoftware.aether.Aether
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.agrona.concurrent.Agent
public final class Aether extends java.lang.Object implements org.agrona.concurrent.Agent, java.lang.AutoCloseableAgent used to read Aeron counters and publish snapshots to the configuredCounterSnapshotListener.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAether.Configurationstatic classAether.ContextConfiguration context.static classAether.Modestatic classAether.MonitoringLocationstatic classAether.ThreadingModestatic classAether.Transport
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intdoWork()static Aetherlaunch(Aether.Context context)Launches an Aether agent with the provided configuration context.static voidmain(java.lang.String[] args)Main method to start an Aether agent.java.lang.StringroleName()
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Main method to start an Aether agent.- Parameters:
args- configuration files
-
launch
public static Aether launch(Aether.Context context)
Launches an Aether agent with the provided configuration context.- Parameters:
context- configuration context- Returns:
- the Aether instance
-
doWork
public int doWork()
- Specified by:
doWorkin interfaceorg.agrona.concurrent.Agent
-
roleName
public java.lang.String roleName()
- Specified by:
roleNamein interfaceorg.agrona.concurrent.Agent
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-