Class FoloBackupListener


  • @ApplicationScoped
    public class FoloBackupListener
    extends Object
    We need to protect against cache deletion/crash for sealed records, just to be safe. We need to look at either sending the serialized record to the UMB or else just storing on disk somewhere outside the ISPN directory. Update: For now let's push it to disk somewhere and worry about more advanced things later.
    • Constructor Detail

      • FoloBackupListener

        public FoloBackupListener()
    • Method Detail

      • onCacheEntryCreated

        public void onCacheEntryCreated​(org.infinispan.notifications.cachelistener.event.CacheEntryCreatedEvent<org.commonjava.indy.folo.model.TrackingKey,​org.commonjava.indy.folo.model.TrackedContent> event)
      • onCacheEntryModified

        public void onCacheEntryModified​(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent<org.commonjava.indy.folo.model.TrackingKey,​org.commonjava.indy.folo.model.TrackedContent> event)
      • onCacheEntryRemoved

        public void onCacheEntryRemoved​(org.infinispan.notifications.cachelistener.event.CacheEntryRemovedEvent<org.commonjava.indy.folo.model.TrackingKey,​org.commonjava.indy.folo.model.TrackedContent> event)