Package com.sodius.mdw.server.utils
Interface Disposable
-
- All Known Subinterfaces:
Storage
- All Known Implementing Classes:
AbstractStructureProvider
,Cache
,FilteredStructure
,Structure
public interface Disposable
Defines an element that can be disposed, typically to free some temporary allocated resources when the element is not to be used anymore. The standard pattern is the code that instantiates aDisposable
object is also in charge todispose()
it, typically in atry/finally
block.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Disposes the instance, which shall free any resource used.
-