Class IndexReadyMessage

  • All Implemented Interfaces:
    java.io.Serializable

    public class IndexReadyMessage
    extends HarvesterMessage
    A message to send from the IndexServer to HarvestJobManager, that the index required by harvest with a given ID is ready.
    See Also:
    Serialized Form
    • Constructor Detail

      • IndexReadyMessage

        public IndexReadyMessage​(java.lang.Long harvestId,
                                 boolean indexIsOK,
                                 ChannelID to,
                                 ChannelID replyTo)
        Constructor for the IndexReadyMessage.
        Parameters:
        harvestId - The harvestId that requires the index.
        indexIsOK - is the index now OK or not
        to - The destination channel
        replyTo - The channel to reply to (not really used).
    • Method Detail

      • getHarvestId

        public java.lang.Long getHarvestId()
        Returns:
        the Id of the harvest that requires this index.
      • getIndexOK

        public boolean getIndexOK()
        Is the index OK.
        Returns:
        true, if the index is OK, else false.