Class CacheClearHook

java.lang.Object
sonia.scm.repository.CacheClearHook
Direct Known Subclasses:
PartCacheClearHook

public class CacheClearHook extends Object
Since:
1.6
  • Constructor Details

    • CacheClearHook

      public CacheClearHook()
  • Method Details

    • clearCache

      public void clearCache()
      Since:
      1.7
    • clearCache

      public void clearCache(com.google.common.base.Predicate predicate)
      Since:
      1.9
    • onEvent

      public void onEvent(PostReceiveRepositoryHookEvent event)
    • createPredicate

      protected com.google.common.base.Predicate<?> createPredicate(RepositoryHookEvent event)
      Since:
      1.9
    • init

      protected void init(Cache<?,?> cache)