MessageNotify.Resp

public static class Resp implements Direct.Response, Cloneable

Fields

msgId

public final UUID msgId

Constructors

Resp

public Resp()

Methods

clone

public Resp clone()

getDeliveryTime

public long getDeliveryTime()

getSendTime

public long getSendTime()
Returns:the time it took to send the data over the wire in ns

getSize

public int getSize()

getState

public State getState()

getTime

public long getTime()
Returns:the time when then data was sent in ms

isSuccess

public boolean isSuccess()

setDeliveryTime

void setDeliveryTime(long deliveryTime)

setSendTime

void setSendTime(long sendTime)

setSize

void setSize(int size)

setState

void setState(State state)

setTime

void setTime(long time)

toString

public String toString()