Interface PersistenceService


  • public interface PersistenceService
    Service that allows for the creation of local disk backed map for instance specific values that persist across restarts. Empty maps and sets are deleted on shutdown.
    • Method Detail

      • persistentMapBuilder

        <K,​V> PersistentMapBuilder<K,​V> persistentMapBuilder()
        A builder for the creation of local persistent maps backed by disk.
        Type Parameters:
        K - the type of keys in this map
        V - the type of values in this map
        Returns:
        a persistent map builder
      • persistentSetBuilder

        <E> PersistentSetBuilder<E> persistentSetBuilder()
        A builder for the creation of local persistent sets backed by disk.
        Type Parameters:
        E - the type of the elements
        Returns:
        a persistent set builder