Interface NamespacedHierarchicalStore.CloseAction<N>

  • Enclosing class:
    NamespacedHierarchicalStore<N>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface NamespacedHierarchicalStore.CloseAction<N>
    Called for each successfully stored non-null value in the store when a NamespacedHierarchicalStore is closed.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close​(N namespace, java.lang.Object key, java.lang.Object value)
      Close the supplied value.
    • Method Detail

      • close

        void close​(N namespace,
                   java.lang.Object key,
                   java.lang.Object value)
            throws java.lang.Throwable
        Close the supplied value.
        Parameters:
        namespace - the namespace; never null
        key - the key; never null
        value - the value; never null
        Throws:
        java.lang.Throwable