Class 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.AutoCloseable
    Agent used to read Aeron counters and publish snapshots to the configured CounterSnapshotListener.
    • 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:
        doWork in interface org.agrona.concurrent.Agent
      • roleName

        public java.lang.String roleName()
        Specified by:
        roleName in interface org.agrona.concurrent.Agent
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable