public class AnswerPacket extends Object implements Externalizable
Modifier and Type | Field and Description |
---|---|
IEntryPacket |
m_EntryPacket |
LeaseContext |
m_leaseProxy
non null iff update-or-write resulted in a write
|
static AnswerPacket |
NullPacket |
Constructor and Description |
---|
AnswerPacket()
default constructor for externelizable implementation.
|
AnswerPacket(IEntryPacket entryPacket) |
AnswerPacket(IEntryPacket entryPacket,
WriteEntryResult writeResult) |
AnswerPacket(LeaseContext lease) |
AnswerPacket(WriteEntryResult writeEntryResult) |
Modifier and Type | Method and Description |
---|---|
WriteEntryResult |
getWriteEntryResult() |
boolean |
isDummy() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final AnswerPacket NullPacket
public IEntryPacket m_EntryPacket
public LeaseContext m_leaseProxy
public AnswerPacket()
public AnswerPacket(IEntryPacket entryPacket)
public AnswerPacket(LeaseContext lease)
public AnswerPacket(WriteEntryResult writeEntryResult)
public AnswerPacket(IEntryPacket entryPacket, WriteEntryResult writeResult)
public WriteEntryResult getWriteEntryResult()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public boolean isDummy()
Copyright © GigaSpaces.