Interface AtlanCloseable

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
AbstractOffHeapCache, AssetBatch, AtlanClient, OffHeapAssetCache, ParallelBatch

public interface AtlanCloseable extends AutoCloseable
Interface for closeable resources that can be used in try-with clauses or Kotlin use clauses. These will log any problems with closing their resources, rather than throwing exceptions that need to be handled (as generally any left-behind resources will be cleaned by the containerization in place, anyway).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    static void
    close(AutoCloseable closeable)
     
  • Field Details

    • log

      static final org.slf4j.Logger log
  • Method Details