
public class OLocalRecordCache extends OAbstractRecordCache
excludedCluster, profilerMetadataPrefix, profilerPrefix, underlying| Constructor and Description |
|---|
OLocalRecordCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the entire cache by removing all the entries
|
void |
deleteRecord(ORID rid)
Removes record with specified identifier from both primary and secondary caches
|
ORecord |
findRecord(ORID rid)
Looks up for record in cache by it's identifier.
|
void |
invalidate()
Invalidates the cache emptying all the records.
|
void |
shutdown()
All operations running at cache destruction stage
|
void |
startup()
All operations running at cache initialization stage
|
String |
toString() |
void |
updateRecord(ORecord record)
Pushes record to cache.
|
freeCluster, freeRecord, getSize, isEnabled, setEnablepublic void startup()
OAbstractRecordCachestartup in class OAbstractRecordCachepublic void updateRecord(ORecord record)
record - record that should be cachedpublic ORecord findRecord(ORID rid)
rid - unique identifier of recordnullpublic void deleteRecord(ORID rid)
deleteRecord in class OAbstractRecordCacherid - unique identifier of recordpublic void shutdown()
OAbstractRecordCacheshutdown in class OAbstractRecordCachepublic void clear()
OAbstractRecordCacheclear in class OAbstractRecordCachepublic void invalidate()
Copyright © 2009–2025 OrientDB. All rights reserved.