interface StoredCollection
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the collection and all its changes.
|
default void |
compact(long fileId)
Compact the elements of this collection, to reduce the memory footprint.
|
default boolean |
inPersist()
Check if we are in procss of persisting the collection to database.
|
void |
persist()
Persist this collection to database.
|
default java.lang.Object |
unwrapValue(java.lang.Object value)
Unwrap a value from a
CustomExternalizable . |
default java.lang.Object |
wrapValue(java.lang.Object value)
Wrap the value in a
CustomExternalizable . |
void clear()
void persist()
default boolean inPersist()
default void compact(long fileId)
fileId
- The AST file ID which has finished processing.default java.lang.Object unwrapValue(java.lang.Object value)
CustomExternalizable
.value
- The value to unwrap.CustomExternalizable.getValue()
.default java.lang.Object wrapValue(java.lang.Object value)
CustomExternalizable
.value
- The value to wrap.