Class SharedCloseableImpl
java.lang.Object
org.apache.cassandra.utils.concurrent.SharedCloseableImpl
- All Implemented Interfaces:
AutoCloseable,SharedCloseable
- Direct Known Subclasses:
ChannelProxy,FileHandle,MmappedRegions,SSTableContext,WrappedSharedCloseable
A simple abstract implementation of SharedCloseable
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTo(Ref.IdentityCollection identities) voidclose()booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.utils.concurrent.SharedCloseable
sharedCopy
-
Constructor Details
-
SharedCloseableImpl
-
-
Method Details
-
isCleanedUp
public boolean isCleanedUp() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
close
- Specified by:
closein interfaceSharedCloseable
-
addTo
- Specified by:
addToin interfaceSharedCloseable
-