Package one.microstream.storage.types
Interface StorageEntityCacheItem<I extends StorageEntityCacheItem<I>>
-
- Type Parameters:
I
-
- All Known Implementing Classes:
StorageEntity.Default
public interface StorageEntityCacheItem<I extends StorageEntityCacheItem<I>>
Internal type of an entry/item representing a single entity.
-
-
Method Summary
Modifier and Type Method Description long
clearCache()
void
copyCachedData(MemoryRangeReader entityDataCollector)
long
dataLength()
long
exportTo(StorageLockedFile file)
boolean
iterateReferenceIds(PersistenceObjectIdAcceptor referenceIdIterator)
long
objectId()
StorageDataFile<I>
storageFile()
long
storagePosition()
-
-
-
Method Detail
-
objectId
long objectId()
-
dataLength
long dataLength()
-
storagePosition
long storagePosition()
-
storageFile
StorageDataFile<I> storageFile()
-
copyCachedData
void copyCachedData(MemoryRangeReader entityDataCollector)
-
clearCache
long clearCache()
-
iterateReferenceIds
boolean iterateReferenceIds(PersistenceObjectIdAcceptor referenceIdIterator)
-
exportTo
long exportTo(StorageLockedFile file)
-
-