- java.lang.Object
-
- de.siegmar.logbackgelf.MessageIdSupplier
-
- All Implemented Interfaces:
java.util.function.LongSupplier
public class MessageIdSupplier extends java.lang.Object implements java.util.function.LongSupplierSupplier 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).
-
-
Constructor Summary
Constructors Constructor Description MessageIdSupplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAsLong()
-