
public class ORecordCacheSoftRefs extends OAbstractMapCache<OSoftRefsHashMap<ORID,ORecord>> implements ORecordCache
cache| Constructor and Description |
|---|
ORecordCacheSoftRefs() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all records from cache
|
ORecord |
get(ORID rid)
Look up for record in cache by it's identifier
|
ORecord |
put(ORecord record)
Push record to cache.
|
ORecord |
remove(ORID rid)
Remove record with specified identifier
|
void |
shutdown()
All operations running at cache destruction stage
|
disable, enable, isEnabled, keys, size, startuppublic ORecord get(ORID rid)
ORecordCacheget in interface ORecordCacherid - unique identifier of recordnullpublic ORecord put(ORecord record)
ORecordCacheput in interface ORecordCacherecord - record that should be cachedpublic ORecord remove(ORID rid)
ORecordCacheremove in interface ORecordCacherid - unique identifier of recordnullpublic void shutdown()
ORecordCacheshutdown in interface ORecordCacheshutdown in class OAbstractMapCache<OSoftRefsHashMap<ORID,ORecord>>public void clear()
ORecordCacheclear in interface ORecordCacheclear in class OAbstractMapCache<OSoftRefsHashMap<ORID,ORecord>>Copyright © 2009–2025 OrientDB. All rights reserved.