| Constructor and Description |
|---|
PartialRequestManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
block(long recordIndex,
int fieldIndex,
IBuffer.TransportOverride override,
Object notify)
This method is used to add one new request to the ones that are pending data to be
made available
|
void |
dispose()
Disposes all internal resources and notifies all the waiting requesters
|
PartialRequestEntry[] |
getEntries()
Retrieves a new copy of the entries that are pending
|
boolean |
requestExists(long recordIndex,
int fieldIndex)
|
void |
unblock(long recordIndex,
int fieldIndex)
|
public void block(long recordIndex,
int fieldIndex,
IBuffer.TransportOverride override,
Object notify)
throws GRS2ProxyMirrorDisposedException,
GRS2ProxyMirrorInvalidOperationException
recordIndex - the Record index the request is issued againstfieldIndex - the Record's Field that should transfer more dataoverride - the IBuffer.TransportOverride directive to usenotify - the synchronization object used to block and notify the requesterGRS2ProxyMirrorDisposedException - The mirroring procedure has already been terminatedGRS2ProxyMirrorInvalidOperationException - A request against the specific Record
and Field has already been issued and an new one cannot be maid until the previous one is servedpublic void unblock(long recordIndex,
int fieldIndex)
throws GRS2ProxyMirrorDisposedException,
GRS2ProxyMirrorInvalidOperationException
Record and Field. This method
will use the respective synchronization object to notify the requester and remove the
served requestrecordIndex - the Record index the request is issued againstfieldIndex - the Record's Field that transfered more dataGRS2ProxyMirrorDisposedException - The mirroring procedure has already been terminatedGRS2ProxyMirrorInvalidOperationException - No request fore the given Record and Field can be foundpublic boolean requestExists(long recordIndex,
int fieldIndex)
throws GRS2ProxyMirrorDisposedException
recordIndex - the Record indexfieldIndex - the Field indexGRS2ProxyMirrorDisposedException - The mirroring procedure has already been terminatedpublic PartialRequestEntry[] getEntries()
public void dispose()
Copyright © 2014. All Rights Reserved.