Package com.sodius.mdw.server.utils
Interface Disposable
-
- All Known Subinterfaces:
Storage
- All Known Implementing Classes:
AbstractStructureProvider,Cache,FilteredStructure,Structure
public interface DisposableDefines 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 aDisposableobject is also in charge todispose()it, typically in atry/finallyblock.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Disposes the instance, which shall free any resource used.
-