Class InfluxDBWriter

  • All Implemented Interfaces:
    akka.actor.Actor, ResultWriter<LogEvent>, java.io.Closeable, java.lang.AutoCloseable

    public class InfluxDBWriter
    extends akka.actor.AbstractActor
    implements ResultWriter<LogEvent>
    Writer implementation for Influx DB. It must be activated by using @Influx annotation.

    Since:
    1.1.0
    Author:
    Erhan Bagdemir
    • Nested Class Summary

      • Nested classes/interfaces inherited from class akka.actor.AbstractActor

        akka.actor.AbstractActor.ActorContext, akka.actor.AbstractActor.Receive
      • Nested classes/interfaces inherited from interface akka.actor.Actor

        akka.actor.Actor.emptyBehavior$, akka.actor.Actor.ignoringBehavior$
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      akka.actor.AbstractActor.Receive createReceive()  
      static akka.actor.Props props()  
      void write​(LogEvent logEvent)
      Adds a new log event into the simulation logging source.
      void write​(java.lang.String report)
      Adds a new log event as string into the simulation logging source.
      • Methods inherited from class akka.actor.AbstractActor

        akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, emptyBehavior, getContext, getSelf, getSender, postRestart, postStop, preRestart, preRestart, preStart, receive, receiveBuilder, self, sender, supervisorStrategy, unhandled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • props

        public static akka.actor.Props props()
      • createReceive

        public akka.actor.AbstractActor.Receive createReceive()
        Specified by:
        createReceive in class akka.actor.AbstractActor
      • write

        public void write​(LogEvent logEvent)
        Description copied from interface: ResultWriter
        Adds a new log event into the simulation logging source.
        Specified by:
        write in interface ResultWriter<LogEvent>
        Parameters:
        logEvent - Log event.
      • write

        public void write​(java.lang.String report)
        Description copied from interface: ResultWriter
        Adds a new log event as string into the simulation logging source.
        Specified by:
        write in interface ResultWriter<LogEvent>
        Parameters:
        report - Log event.
      • close

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