return this.requestCount;
}
@Subscribe
public void onEvent(RepositoryItemEventCache evt) {
final RepositoryItemEventCache riec = (RepositoryItemEventCache) evt;
final String path = riec.getItem().getPath();
if (path.endsWith("maven-metadata.xml") || path.endsWith("spoof-1.0.txt")) {
// logging to track if listener received message in time for accurate test assertion
if (getLogger().isInfoEnabled()) {
getLogger().info(path + " -> CounterListener increments to " + (++requestCount) + " at ("
+ System.currentTimeMillis() + ")");