public interface StorageEntity
| Modifier and Type | Interface and Description |
|---|---|
static class |
StorageEntity.Default |
static class |
StorageEntity.MaxObjectId |
static class |
StorageEntity.MinObjectId |
| Modifier and Type | Method and Description |
|---|---|
long |
cachedDataLength()
The length this entity occupies in the cache.
|
long |
clearCache() |
void |
copyCachedData(MemoryRangeReader entityDataCollector) |
long |
dataLength() |
long |
exportTo(one.microstream.afs.types.AWritableFile file) |
boolean |
hasReferences() |
boolean |
iterateReferenceIds(one.microstream.persistence.types.PersistenceObjectIdAcceptor referenceIdIterator) |
long |
lastTouched()
The approximate system time that this particular entity has been last touched.
|
long |
objectId() |
StorageLiveDataFile |
storageFile() |
long |
storagePosition() |
long |
typeId() |
long dataLength()
long typeId()
long objectId()
boolean hasReferences()
long cachedDataLength()
dataLength() as only parts of an entity (e.g. only references) might be loaded into cache
and because the cache might hold the header/meta data of an entity as well.long lastTouched()
System.currentTimeMillis().long storagePosition()
StorageLiveDataFile storageFile()
void copyCachedData(MemoryRangeReader entityDataCollector)
long clearCache()
boolean iterateReferenceIds(one.microstream.persistence.types.PersistenceObjectIdAcceptor referenceIdIterator)
long exportTo(one.microstream.afs.types.AWritableFile file)
Copyright © 2022 MicroStream Software. All rights reserved.