Class SequencerHeaderUtil


  • public class SequencerHeaderUtil
    extends java.lang.Object
    Utility class for accessing protected members on SEQUENCER.SequencerHeader.
    Since:
    12.1.0
    Version:
    $Revision: 23264 $ $Date: 2019-10-09 18:06:18 -0300 (Wed, 09 Oct 2019) $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte FLUSH
      Same as SEQUENCER.SequencerHeader.FLUSH.
      static byte FORWARD
      Same as SEQUENCER.SequencerHeader.FORWARD.
      static byte WRAPPED_BCAST
      Same as SEQUENCER.SequencerHeader.WRAPPED_BCAST.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean getFlushAck​(org.jgroups.protocols.SEQUENCER.SequencerHeader header)
      Returns SEQUENCER.SequencerHeader.flush_ack.
      static void setFlushAck​(org.jgroups.protocols.SEQUENCER.SequencerHeader header, boolean value)
      Sets SEQUENCER.SequencerHeader.flush_ack.
      • Methods inherited from class java.lang.Object

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

      • WRAPPED_BCAST

        public static final byte WRAPPED_BCAST
        Same as SEQUENCER.SequencerHeader.WRAPPED_BCAST.
        Since:
        12.1.0
        See Also:
        Constant Field Values
      • FLUSH

        public static final byte FLUSH
        Same as SEQUENCER.SequencerHeader.FLUSH.
        Since:
        12.1.0
        See Also:
        Constant Field Values
      • FORWARD

        public static final byte FORWARD
        Same as SEQUENCER.SequencerHeader.FORWARD.
        Since:
        12.1.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • SequencerHeaderUtil

        public SequencerHeaderUtil()
    • Method Detail

      • getFlushAck

        public static boolean getFlushAck​(org.jgroups.protocols.SEQUENCER.SequencerHeader header)
        Returns SEQUENCER.SequencerHeader.flush_ack.
        Parameters:
        header - the header.
        Returns:
        the flush_ack value.
        Since:
        12.1.0
      • setFlushAck

        public static void setFlushAck​(org.jgroups.protocols.SEQUENCER.SequencerHeader header,
                                       boolean value)
        Sets SEQUENCER.SequencerHeader.flush_ack.
        Parameters:
        value - value to set.
        Since:
        12.1.0