public class RepositoryWatcher extends Object implements Runnable
A service that watches for modified/deleted files in a Site's
www-directory (see SiteProperties.WWW_DIR) using a
WatchService.
SiteProperties.CACHE_ENABLED), cache entries for the modified/deleted
files are removed from the cache. Since there could be some forwarding rules defined in the site's
urlrewrite.xml, it is also necessary to parse these rules and remove the 'aliases' from the cache.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RULE_SUFFIX |
protected Long |
forwardsUpdatedAt |
protected AtomicLong |
numEvents |
protected AtomicLong |
numOverflows |
| Constructor and Description |
|---|
RepositoryWatcher(Site site,
String jspExtension,
String ruleSourceSuffix) |
public static final String DEFAULT_RULE_SUFFIX
protected Long forwardsUpdatedAt
protected AtomicLong numEvents
protected AtomicLong numOverflows
Copyright © 2011–2022 aiticon GmbH. All rights reserved.