Class MessageIdSupplier

  • All Implemented Interfaces:
    java.util.function.LongSupplier

    public class MessageIdSupplier
    extends java.lang.Object
    implements java.util.function.LongSupplier
    Supplier implementation for GELF message IDs as used for UDP chunks. Unfortunately the GELF protocol limits the message id length to 8 bytes thus a UUID cannot be used (16 bytes).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getAsLong()  
      • Methods inherited from class java.lang.Object

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

      • MessageIdSupplier

        public MessageIdSupplier()
    • Method Detail

      • getAsLong

        public long getAsLong()
        Specified by:
        getAsLong in interface java.util.function.LongSupplier