Interface DeletableStorage<T>

All Superinterfaces:

@NonNullByDefault public interface DeletableStorage<T> extends Storage<T>
A Storage that could be disposed.
Markus Rathgeb - Initial contribution
  • Method Details

    • delete

      void delete()
      Delete the storage.

      This function could be called if the storage is not longer used (now and in future). The storage implementation will clean up / remove the storage (e.g. file, database, etc.). After this function has been called the storage must not be used anymore.