class RPackagesBuilderFacetImpl extends FacetSupport implements RPackagesBuilderFacet, Asynchronous {

  @Subscribe
  @Guarded(by = STARTED)
  @AllowConcurrentEvents
  public void on(final AssetEvent event) {
    if (shouldInvalidate(event)) {
      invalidateMetadata(getBasePath(event.getAsset().name()));
    }
  }

  @Inject public  RPackagesBuilderFacetImpl(
      final EventManager eventManager,
      @Named("${nexus.r.packagesBuilder.interval:-1000}") final long interval);

}