Package org.opensearch.discovery.ec2
Class AmazonEc2Reference
java.lang.Object
org.opensearch.common.util.concurrent.AbstractRefCounted
org.opensearch.common.concurrent.RefCountedReleasable<com.amazonaws.services.ec2.AmazonEC2>
org.opensearch.discovery.ec2.AmazonEc2Reference
- All Implemented Interfaces:
Closeable,AutoCloseable,Releasable,RefCounted
Handles the shutdown of the wrapped
AmazonEC2 using reference
counting.-
Method Summary
Methods inherited from class org.opensearch.common.concurrent.RefCountedReleasable
close, closeInternal, getMethods inherited from class org.opensearch.common.util.concurrent.AbstractRefCounted
alreadyClosed, decRef, getName, incRef, refCount, tryIncRef