public class PartialRequestEntry extends Object implements Serializable
Field. These records are internally managed by the PartialRequestManager
and the respective managing IMirror instance| Constructor and Description |
|---|
PartialRequestEntry(long recordIndex,
int fieldIndex,
IBuffer.TransportOverride override,
Object notify)
Creates a new instance for the request based on its details
|
| Modifier and Type | Method and Description |
|---|---|
PartialRequestEntry |
copy()
Creates a new instance of the
PartialRequestEntry with the same values as the
ones available in this instance |
boolean |
equals(Object obj) |
int |
getFieldIndex()
Retrieved the
Field index |
Object |
getNotify()
Retrieves the synchronization object
|
IBuffer.TransportOverride |
getOverride()
Retrieves the
IBuffer.TransportOverride directive |
long |
getRecordIndex()
Retrieved the
Record index |
int |
hashCode() |
void |
setFieldIndex(int fieldIndex)
Sets the
Field index |
void |
setNotify(Object notify)
Sets the synchronization object
|
void |
setOverride(IBuffer.TransportOverride override)
Sets the
IBuffer.TransportOverride directive |
void |
setRecordIndex(long recordIndex)
Sets the
Record index |
public PartialRequestEntry(long recordIndex,
int fieldIndex,
IBuffer.TransportOverride override,
Object notify)
recordIndex - The Record indexfieldIndex - The Field indexoverride - The IBuffer.TransportOverride directivenotify - The synchronization object to use to notify the requesterpublic void setRecordIndex(long recordIndex)
Record indexrecordIndex - the Record indexpublic void setFieldIndex(int fieldIndex)
Field indexfieldIndex - the Field indexpublic Object getNotify()
public void setNotify(Object notify)
notify - the synchronization objectpublic IBuffer.TransportOverride getOverride()
IBuffer.TransportOverride directiveIBuffer.TransportOverride directivepublic void setOverride(IBuffer.TransportOverride override)
IBuffer.TransportOverride directiveoverride - the IBuffer.TransportOverride directivepublic boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public PartialRequestEntry copy()
PartialRequestEntry with the same values as the
ones available in this instancepublic int hashCode()
Since the two key values used for equality are the Record and Field index, the
hash code created is based in the Cantor function to create a unique hash value
hashCode in class ObjectObject.hashCode()Copyright © 2014. All Rights Reserved.