|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestRetryCallback
An instances of RequestRetryCallback
SHALL be provided when
enabling automatic reservation request retry via the ResourceContext
.
This defines the callback interface that is used to notify the application
of successful resource reservation in case of a retry.
This interface is used only to notify the application of successful resource reservation following an automatic retry. It SHALL NOT be invoked due to an immediate reservation request.
ResourceContext.setRequestRetry(org.ocap.resource.RequestRetryCallback)
Method Summary | |
---|---|
void |
notifyReserved(ResourceProxy proxy,
Object requestData,
ResourceClient client)
A call to this method notifies the implementing application that the given resource was successfully reserved following an automatic retry. |
Method Detail |
---|
void notifyReserved(ResourceProxy proxy, Object requestData, ResourceClient client)
proxy
- represents the scarce resource that was reservedrequestData
- application specific data given at original reservation requestclient
- the ResourceClient
specified for the original reservation request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |