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 Details

    • closeAutoCloseables

      @API(status=MAINTAINED, since="1.13.3") static <N> NamespacedHierarchicalStore.CloseAction<N> closeAutoCloseables()
    • close

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