Package org.jclouds.lifecycle
Class Closer
java.lang.Object
org.jclouds.lifecycle.Closer
- All Implemented Interfaces:
Closeable
,AutoCloseable
This will close objects in the reverse order that they were added.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Closer
public Closer()
-
-
Method Details
-
addToClose
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getState
-