All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codeheadsystems.queue.Message Maven / Gradle / Ivy

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