public class LimitExceededWarnings extends Object
| Constructor and Description |
|---|
LimitExceededWarnings(XMLLanguageClientAPI client,
SharedSettings sharedSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
evict(String uri)
Evict the provided uri from cache
|
void |
evictAll()
Evict all contents from cache
|
void |
onResultLimitExceeded(String uri,
int resultLimit,
String featureName)
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 cache
After sending the warning, the uri is added to the cache
|
public LimitExceededWarnings(XMLLanguageClientAPI client, SharedSettings sharedSettings)
public void onResultLimitExceeded(String uri, LimitFeature feature)
uri - the file urifeatureName - the feature namepublic void onResultLimitExceeded(String uri, int resultLimit, String featureName)
uri - the file uriresultLimit - the result limitfeatureName - the feature namepublic void evict(String uri)
uri - public void evictAll()
Copyright © 2020. All rights reserved.