public class ConsumerId extends Object implements DataStructure
Modifier and Type | Field and Description |
---|---|
protected String |
connectionId |
static byte |
DATA_STRUCTURE_TYPE |
protected int |
hashCode |
protected String |
key |
protected SessionId |
parentId |
protected long |
sessionId |
protected long |
value |
Constructor and Description |
---|
ConsumerId() |
ConsumerId(ConsumerId id) |
ConsumerId(SessionId sessionId,
long consumerId) |
ConsumerId(String str) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getConnectionId() |
byte |
getDataStructureType() |
SessionId |
getParentId() |
long |
getSessionId() |
long |
getValue() |
int |
hashCode() |
boolean |
isMarshallAware() |
void |
setConnectionId(String connectionId) |
void |
setSessionId(long sessionId) |
void |
setValue(long consumerId) |
String |
toString() |
public static final byte DATA_STRUCTURE_TYPE
protected String connectionId
protected long sessionId
protected long value
protected transient int hashCode
public ConsumerId()
public ConsumerId(String str)
public ConsumerId(SessionId sessionId, long consumerId)
public ConsumerId(ConsumerId id)
public SessionId getParentId()
public byte getDataStructureType()
getDataStructureType
in interface DataStructure
public String getConnectionId()
public void setConnectionId(String connectionId)
public long getSessionId()
public void setSessionId(long sessionId)
public long getValue()
public void setValue(long consumerId)
public boolean isMarshallAware()
isMarshallAware
in interface DataStructure
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.