|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.uoa.di.madgik.grs.proxy.mirror.PartialRequestEntry
public class PartialRequestEntry
This class holds information on a request made by a reader for more data to be provided over a partially
transfered record Field
. These records are internally managed by the PartialRequestManager
and the respective managing IMirror
instance
Constructor Summary | |
---|---|
PartialRequestEntry(long recordIndex,
int fieldIndex,
IBuffer.TransportOverride override,
java.lang.Object notify)
Creates a new instance for the request based on its details |
Method Summary | |
---|---|
PartialRequestEntry |
copy()
Creates a new instance of the PartialRequestEntry with the same values as the
ones available in this instance |
boolean |
equals(java.lang.Object obj)
|
int |
getFieldIndex()
Retrieved the Field index |
java.lang.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(java.lang.Object notify)
Sets the synchronization object |
void |
setOverride(IBuffer.TransportOverride override)
Sets the IBuffer.TransportOverride directive |
void |
setRecordIndex(long recordIndex)
Sets the Record index |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartialRequestEntry(long recordIndex, int fieldIndex, IBuffer.TransportOverride override, java.lang.Object notify)
recordIndex
- The Record
indexfieldIndex
- The Field
indexoverride
- The IBuffer.TransportOverride
directivenotify
- The synchronization object to use to notify the requesterMethod Detail |
---|
public long getRecordIndex()
Record
index
Record
indexpublic void setRecordIndex(long recordIndex)
Record
index
recordIndex
- the Record
indexpublic int getFieldIndex()
Field
index
Field
indexpublic void setFieldIndex(int fieldIndex)
Field
index
fieldIndex
- the Field
indexpublic java.lang.Object getNotify()
public void setNotify(java.lang.Object notify)
notify
- the synchronization objectpublic IBuffer.TransportOverride getOverride()
IBuffer.TransportOverride
directive
IBuffer.TransportOverride
directivepublic void setOverride(IBuffer.TransportOverride override)
IBuffer.TransportOverride
directive
override
- the IBuffer.TransportOverride
directivepublic boolean equals(java.lang.Object obj)
the equality operation is based in the Record
index and the Field
index
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public PartialRequestEntry copy()
PartialRequestEntry
with the same values as the
ones available in this instance
public 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 java.lang.Object
Object.hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |