Package org.apache.cassandra.utils
Interface IFilter
- All Superinterfaces:
AutoCloseable,SharedCloseable
- All Known Implementing Classes:
BloomFilter
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IFilter.FilterKey key) voidclear()voidclose()booleanbooleanlongReturns the amount of memory in bytes used off heap.voidserialize(DataOutputStreamPlus out, boolean oldSerializationFormat) longserializedSize(boolean oldSerializationFormat) Methods inherited from interface org.apache.cassandra.utils.concurrent.SharedCloseable
addTo, close
-
Method Details
-
add
-
isPresent
-
clear
void clear() -
serializedSize
long serializedSize(boolean oldSerializationFormat) -
serialize
- Throws:
IOException
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-
offHeapSize
long offHeapSize()Returns the amount of memory in bytes used off heap.- Returns:
- the amount of memory in bytes used off heap
-
isInformative
boolean isInformative()
-