|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LookupPolicyInterface
Interface describing service lookup policies that a local discovery service should observe:
Method Summary | |
---|---|
boolean |
isOKToRetryLookup(java.lang.String serviceLookupRequestId)
In the event that a local service lookup fails to return any results, this method will be invoked to determine whether or not the service lookup should be re-attempted. |
void |
serviceLookupInitiated(java.lang.String serviceLookupRequestId)
Notifies the policy implementation that a service lookup has started. |
void |
serviceLookupTerminated(java.lang.String serviceLookupRequestId)
Notifies the policy implementation that a service lookup has been terminated. |
Method Detail |
---|
void serviceLookupInitiated(java.lang.String serviceLookupRequestId)
serviceLookupRequestId
- An ID that the policy control implementation can use to distinguish
between multiple service lookup requests. This value will be used
in future interactions between the local discovery service and
this policy implementation. Refer to the following methods for
additional details.
void serviceLookupTerminated(java.lang.String serviceLookupRequestId)
serviceLookupRequestId
- An ID that the policy control implementation can use to distinguish
between multiple service lookup requests. This value was
originally provided to the policy implementation when it was
notified of the start of a service lookup via the
(String)
serviceLookupInitiated (serviceLookupRequestId)
method.boolean isOKToRetryLookup(java.lang.String serviceLookupRequestId)
serviceLookupRequestId
- The ID associated with a particular service lookup request.
The policy control implementation can use to distinguish
between multiple service lookup requests. This value was
originally provided to the policy implementation when it was
notified of the start of a service lookup via the
(String)
serviceLookupInitiated (serviceLookupRequestId)
method.
true
if the service lookup should be re-attempted or
false
if it shouldn't.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |