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 aNamespacedHierarchicalStoreis closed.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose(N namespace, java.lang.Object key, java.lang.Object value)Close the suppliedvalue.static <N> NamespacedHierarchicalStore.CloseAction<N>closeAutoCloseables()
-
-
-
Method Detail
-
closeAutoCloseables
@API(status=MAINTAINED, since="1.13.3") static <N> NamespacedHierarchicalStore.CloseAction<N> closeAutoCloseables()
-
close
void close(N namespace, java.lang.Object key, java.lang.Object value) throws java.lang.Throwable
Close the suppliedvalue.- Parameters:
namespace- the namespace; nevernullkey- the key; nevernullvalue- the value; nevernull- Throws:
java.lang.Throwable
-
-