
com.codeheadsystems.queue.Message Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of local-queue Show documentation
Show all versions of local-queue Show documentation
LQ: a minimalistic local queue
The newest version!
package com.codeheadsystems.queue;
import org.immutables.value.Value;
/**
* The interface Message.
*/
@Value.Immutable
public interface Message {
/**
* Hash string for deduping, used as the primary key.
*
* @return the string
*/
long hash();
/**
* Created instant.
*
* @return the instant
*/
long timestamp();
/**
* Message type string.
*
* @return the string
*/
String messageType();
/**
* Payload string.
*
* @return the string
*/
String payload();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy