|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.reliable.events.RdAckInvoiceEntityEvent
public class RdAckInvoiceEntityEvent
This is the invoice event issued by an entity upon receipt of an archival notification. ACK events are idempotent.
| Constructor Summary | |
|---|---|
RdAckInvoiceEntityEvent(byte[] marshalledBytes)
Reconstructing the original event from its serialized representation |
|
RdAckInvoiceEntityEvent(int templateId,
int entityId,
long ackSequence)
Initialize the Ack Invoice Event |
|
RdAckInvoiceEntityEvent(int templateId,
int entityId,
long[] ackSequences)
Initialize the Ack Invoice Event |
|
| Method Summary | |
|---|---|
boolean |
containsSingleAck()
Allows us to inspect if the event contains a single acknowledgement or multiple ones |
long |
getAckSequenceNumber()
|
long[] |
getAckSequenceNumbers()
|
byte[] |
getBytes()
Returns a serialized representation of the event bytes |
int |
getEntityId()
|
int |
getTemplateId()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RdAckInvoiceEntityEvent(int templateId,
int entityId,
long ackSequence)
public RdAckInvoiceEntityEvent(int templateId,
int entityId,
long[] ackSequences)
public RdAckInvoiceEntityEvent(byte[] marshalledBytes)
| Method Detail |
|---|
public int getTemplateId()
public int getEntityId()
public boolean containsSingleAck()
public long getAckSequenceNumber()
public long[] getAckSequenceNumbers()
public byte[] getBytes()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||