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.
Called for each successfully stored non-null value in the store when a
NamespacedHierarchicalStore is
closed.- Since:
- 1.10
-
Method Summary
Modifier and TypeMethodDescriptionvoidClose the suppliedvalue.static <N> NamespacedHierarchicalStore.CloseAction<N> Static factory method for creating aNamespacedHierarchicalStore.CloseActionwhich closes any value that implementsAutoCloseable.
-
Method Details
-
closeAutoCloseables
@API(status=EXPERIMENTAL, since="6.0") static <N> NamespacedHierarchicalStore.CloseAction<N> closeAutoCloseables()Static factory method for creating aNamespacedHierarchicalStore.CloseActionwhich closes any value that implementsAutoCloseable.- Since:
- 6.0
-
close
-