org.apache.catalina.tribes.group.interceptors

## Class NonBlockingCoordinator.CoordinationMessage

- java.lang.Object
- - org.apache.catalina.tribes.group.interceptors.NonBlockingCoordinator.CoordinationMessage

- Enclosing class:
    NonBlockingCoordinator

      public static class NonBlockingCoordinator.CoordinationMessage
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected XByteBuffer` | `buf`
    `protected UniqueId` | `id`
    `protected Member` | `leader`
    `protected Member` | `source`
    `protected byte[]` | `type`
    `protected Member[]` | `view`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NonBlockingCoordinator.CoordinationMessage(Member leader, Member source, Member[] view, UniqueId id, byte[] type)`
    `NonBlockingCoordinator.CoordinationMessage(XByteBuffer buf)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XByteBuffer` | `getBuffer()`
    `byte[]` | `getHeader()`
    `UniqueId` | `getId()`
    `Member` | `getLeader()`
    `Member[]` | `getMembers()`
    `Member` | `getSource()`
    `byte[]` | `getType()`
    `void` | `parse()`
    `void` | `write()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### buf

          protected final XByteBuffer buf

    - #### leader

          protected Member leader

    - #### source

          protected Member source

    - #### view

          protected Member[] view

    - #### id

          protected UniqueId id

    - #### type

          protected byte[] type

  - ### Constructor Detail

    - #### NonBlockingCoordinator.CoordinationMessage

          public NonBlockingCoordinator.CoordinationMessage(XByteBuffer buf)

    - #### NonBlockingCoordinator.CoordinationMessage

          public NonBlockingCoordinator.CoordinationMessage(Member leader,
                                                    Member source,
                                                    Member[] view,
                                                    UniqueId id,
                                                    byte[] type)

  - ### Method Detail

    - #### getHeader

          public byte[] getHeader()

    - #### getLeader

          public Member getLeader()

    - #### getSource

          public Member getSource()

    - #### getId

          public UniqueId getId()

    - #### getMembers

          public Member[] getMembers()

    - #### getType

          public byte[] getType()

    - #### getBuffer

          public XByteBuffer getBuffer()

    - #### parse

          public void parse()

    - #### write

          public void write()

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.