public static class NonBlockingCoordinator.CoordinationMessage extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected XByteBuffer | buf | 
| protected UniqueId | id | 
| protected MemberImpl | leader | 
| protected MemberImpl | source | 
| protected long | timestampDeprecated. 
 Unused - will be removed in Tomcat 8.0.x | 
| protected byte[] | type | 
| protected MemberImpl[] | view | 
| Constructor and Description | 
|---|
| NonBlockingCoordinator.CoordinationMessage(MemberImpl leader,
                                          MemberImpl source,
                                          MemberImpl[] view,
                                          UniqueId id,
                                          byte[] type) | 
| NonBlockingCoordinator.CoordinationMessage(XByteBuffer buf) | 
| Modifier and Type | Method and Description | 
|---|---|
| XByteBuffer | getBuffer() | 
| byte[] | getHeader() | 
| UniqueId | getId() | 
| MemberImpl | getLeader() | 
| MemberImpl[] | getMembers() | 
| MemberImpl | getSource() | 
| byte[] | getType() | 
| void | parse() | 
| void | write() | 
protected XByteBuffer buf
protected MemberImpl leader
protected MemberImpl source
protected MemberImpl[] view
protected UniqueId id
protected byte[] type
@Deprecated protected long timestamp
public NonBlockingCoordinator.CoordinationMessage(XByteBuffer buf)
public NonBlockingCoordinator.CoordinationMessage(MemberImpl leader, MemberImpl source, MemberImpl[] view, UniqueId id, byte[] type)
public byte[] getHeader()
public MemberImpl getLeader()
public MemberImpl getSource()
public UniqueId getId()
public MemberImpl[] getMembers()
public byte[] getType()
public XByteBuffer getBuffer()
public void parse()
public void write()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.