Package com.microstrategy.webapi
Interface ACMResource<TResource>
-
- All Superinterfaces:
java.lang.AutoCloseable
,AutoCloseableNoThrow
,java.lang.Comparable<TResource>
public interface ACMResource<TResource> extends AutoCloseableNoThrow, java.lang.Comparable<TResource>
ACMResource
provides the ability to check if an autocloseable object has been closed or not. This is important in the ACMResroucePool, because if someone had closed the object, then this Resource is no longer valid. Knowing the object is no longer valid allows the ACMResourcePool to automatically remove the item from the Pool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isClosed()
void
setKeepAlive(boolean iKeepAlive)
-
Methods inherited from interface com.microstrategy.webapi.AutoCloseableNoThrow
close
-
-