Package ch.njol.util

Interface Closeable

All Known Implementing Classes:
FlatFileStorage, LoggerFilter, MySQLStorage, SQLiteStorage, SQLStorage, Task, VariablesStorage

public interface Closeable
Like Closeable, but not used for resources, thus it neither throws checked exceptions nor causes resource leak warnings.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this object.
  • Method Details

    • close

      void close()
      Closes this object. This method may be called multiple times and may or may not have an effect on subsequent calls (e.g. a task might be stopped, but resumed later and stopped again).