Class RequestCorrelator.Header

java.lang.Object
org.jgroups.Header
org.jgroups.blocks.RequestCorrelator.Header
All Implemented Interfaces:
Externalizable, Serializable, Streamable
Enclosing class:
RequestCorrelator

public static final class RequestCorrelator.Header extends Header implements Streamable
The header for RequestCorrelator messages
See Also:
  • Field Details

    • REQ

      public static final byte REQ
      See Also:
    • RSP

      public static final byte RSP
      See Also:
    • type

      public byte type
      Type of header: request or reply
    • id

      public long id
      The id of this request to distinguish among other requests from the same RequestCorrelator
    • rsp_expected

      public boolean rsp_expected
      msg is synchronous if true
    • corrName

      public String corrName
      The unique name of the associated RequestCorrelator
    • callStack

      public Stack<Address> callStack
      Stack<Address>. Contains senders (e.g. P --> Q --> R)
    • dest_mbrs

      public List<Address> dest_mbrs
      Contains a list of members who should receive the request (others will drop). Ignored if null
  • Constructor Details

    • Header

      public Header()
      Used for externalization
    • Header

      public Header(byte type, long id, boolean rsp_expected, String name)
      Parameters:
      type - type of header (REQ/RSP)
      id - id of this header relative to ids of other requests originating from the same correlator
      rsp_expected - whether it's a sync or async request
      name - the name of the RequestCorrelator from which
  • Method Details