Interface PersistenceChangeListener


public interface PersistenceChangeListener

Interface defining methods for changes to data stored in the persistence module. Change listeners only get called if the update originates on either a cluster node different to ours or in a monitoring module

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notification that an element got deleted
    void
    notification that an element has changed
  • Method Details

    • update

      void update(PersistedValue value)

      notification that an element has changed

      Parameters:
      value - The changed element, containing new data
    • delete

      void delete(String key)

      notification that an element got deleted

      Parameters:
      key - The key of the deleted element