public class LimitExceededWarner extends AbstractXMLNotifier
cache
Constructor and Description |
---|
LimitExceededWarner(IXMLNotificationService notificationService) |
Modifier and Type | Method and Description |
---|---|
void |
onResultLimitExceeded(String uri,
int resultLimit,
LimitFeature feature)
Sends the limit exceeded warning to the client only if the provided
uri does not exist in the cache
After sending the warning, the uri is added to the cache
|
void |
onResultLimitExceeded(String uri,
LimitFeature feature)
Sends the limit exceeded warning to the client only if the provided
uri does not exist in the
feature 's cache set
After sending the warning, the uri is added to the feature 's cache set |
addToCache, evictKey, evictValue, existsInCache, existsInCache, getSharedSettings, sendNotification, setCacheValues
public LimitExceededWarner(IXMLNotificationService notificationService)
public void onResultLimitExceeded(String uri, LimitFeature feature)
feature
's cache set
After sending the warning, the uri is added to the feature
's cache seturi
- the file urifeatureName
- the feature namepublic void onResultLimitExceeded(String uri, int resultLimit, LimitFeature feature)
uri
- the file uriresultLimit
- the result limitfeature
- the featureCopyright © 2022. All rights reserved.