- All Superinterfaces:
Sized
- All Known Subinterfaces:
XAddGetCollection<E>, XAddGetSet<E>, XAddingBag<E>, XAddingCollection<E>, XAddingEnum<E>, XAddingList<E>, XAddingSequence<E>, XAddingSet<E>, XAddingSortation<E>, XAddingTable<K,V>, XBag<E>, XBasicEnum<E>, XBasicList<E>, XBasicSequence<E>, XBasicTable<K,V>, XBasicTable.Keys<K,V>, XBasicTable.Values<K,V>, XChart<K,V>, XChart.Keys<K,V>, XChart.Values<K,V>, XCollection<E>, XDecreasingEnum<E>, XDecreasingList<E>, XDecreasingSequence<E>, XEnum<E>, XExpandingEnum<E>, XExpandingList<E>, XExpandingSequence<E>, XExtendingEnum<E>, XExtendingList<E>, XExtendingSequence<E>, XIncreasingEnum<E>, XIncreasingList<E>, XIncreasingSequence<E>, XInputtingEnum<E>, XInputtingList<E>, XInputtingSequence<E>, XInsertingEnum<E>, XInsertingList<E>, XInsertingSequence<E>, XLadder<E>, XList<E>, XMap<K,V>, XMap.Keys<K,V>, XMap.Values<K,V>, XPrependingEnum<E>, XPrependingList<E>, XPrependingSequence<E>, XPreputtingEnum<E>, XPreputtingList<E>, XPreputtingSequence<E>, XProcessingBag<E>, XProcessingCollection<E>, XProcessingEnum<E>, XProcessingList<E>, XProcessingMap<K,V>, XProcessingMap.Keys<K,V>, XProcessingMap.Values<K,V>, XProcessingSequence<E>, XProcessingSet<E>, XProcessingSortation<E>, XPutGetBag<E>, XPutGetCollection<E>, XPutGetEnum<E>, XPutGetList<E>, XPutGetSequence<E>, XPutGetSet<E>, XPutGetSortation<E>, XPuttingBag<E>, XPuttingCollection<E>, XPuttingEnum<E>, XPuttingList<E>, XPuttingSequence<E>, XPuttingSet<E>, XPuttingSortation<E>, XRank<E>, XRemovingBag<E>, XRemovingCollection<E>, XRemovingEnum<E>, XRemovingList<E>, XRemovingMap<K,V>, XRemovingSequence<E>, XRemovingSet<E>, XRemovingSortation<E>, XSequence<E>, XSet<E>, XSortation<E>, XTable<K,V>, XTable.Keys<K,V>, XTable.Values<K,V>
- All Known Implementing Classes:
ArrayCollector, BulkList, Collector, EnumProcessor, EqBulkList, EqHashEnum, EqHashTable, EqHashTable.Keys, EqHashTable.Values, HashEnum, HashMapIdId, HashMapIdObject, HashMapObjectId, HashTable, HashTable.Keys, HashTable.Values, LimitList, ListProcessor, LockedAdder, LockedCollection, LockedList, LockedMap, MutexSet, OpenAdressingMiniSet, Single, SubCollector, SubList, SubListProcessor, SubProcessor, SynchAdder, SynchCollection, SynchList, SynchSet, Threaded, ThreadedInstantiating
public interface OptimizableCollection
extends Sized
-
Method Summary
| Modifier and Type |
Method |
Description |
long |
optimize() |
Optimizes the internal storage of this collection and returns the storage size of the collection after the
process is complete.
|
Methods inherited from interface one.microstream.collections.interfaces.Sized
isEmpty, size
-
Method Details
-
long optimize()
Optimizes the internal storage of this collection and returns the storage size of the collection after the
process is complete.
- Returns:
- the storage size of the collection after the optimzation.