Interface MapDestroyer

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 interface MapDestroyer
Functional interface for destroying a map by name.
  • Method Details

    • destroyAsync

      CompletableFuture<Void> destroyAsync(String name)
      Destroys a map asynchronously.
      Parameters:
      name - The name of the map to destroy.
      Returns:
      A future that completes when the map is destroyed.