| Package | Description |
|---|---|
| com.orientechnologies.orient.core.storage.cache | |
| com.orientechnologies.orient.core.storage.cache.local | |
| com.orientechnologies.orient.core.storage.cache.local.twoq | |
| com.orientechnologies.orient.core.storage.cache.pages | |
| com.orientechnologies.orient.core.storage.impl.local |
Contains all the class involved on the "local" implementation of the OStorage interface.
|
| com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations | |
| com.orientechnologies.orient.core.storage.impl.local.paginated.base | |
| com.orientechnologies.orient.core.storage.impl.memory |
| Modifier and Type | Method and Description |
|---|---|
long |
OReadCache.addFile(String fileName,
long fileId,
OWriteCache writeCache) |
long |
OReadCache.addFile(String fileName,
OWriteCache writeCache) |
OCacheEntry |
OReadCache.allocateNewPage(long fileId,
OWriteCache writeCache,
boolean verifyChecksums) |
void |
OReadCache.closeFile(long fileId,
boolean flush,
OWriteCache writeCache) |
void |
OReadCache.closeStorage(OWriteCache writeCache)
Closes all files inside of write cache and flushes all associated data.
|
void |
OReadCache.deleteFile(long fileId,
OWriteCache writeCache) |
void |
OReadCache.deleteStorage(OWriteCache writeCache) |
OCacheEntry |
OReadCache.load(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums) |
void |
OReadCache.loadCacheState(OWriteCache writeCache)
Load state of cache from file system if possible.
|
void |
OReadCache.release(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
OReadCache.storeCacheState(OWriteCache writeCache)
Stores state of cache inside file if possible.
|
void |
OReadCache.truncateFile(long fileId,
OWriteCache writeCache) |
| Modifier and Type | Class and Description |
|---|---|
class |
OWOWCache |
| Modifier and Type | Method and Description |
|---|---|
long |
O2QCache.addFile(String fileName,
long fileId,
OWriteCache writeCache) |
long |
O2QCache.addFile(String fileName,
OWriteCache writeCache) |
OCacheEntry |
O2QCache.allocateNewPage(long fileId,
OWriteCache writeCache,
boolean verifyChecksums) |
void |
O2QCache.closeFile(long fileId,
boolean flush,
OWriteCache writeCache) |
void |
O2QCache.closeStorage(OWriteCache writeCache)
Performs following steps:
If flag
OGlobalConfiguration.STORAGE_KEEP_DISK_CACHE_STATE is set to true saves state of all queues of
2Q cache into file O2QCache.CACHE_STATE_FILE.The only exception is pinned pages they need to pinned again.
Closes all files and flushes all data associated to them.
|
void |
O2QCache.deleteFile(long fileId,
OWriteCache writeCache) |
void |
O2QCache.deleteStorage(OWriteCache writeCache) |
OCacheEntry |
O2QCache.load(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums) |
void |
O2QCache.loadCacheState(OWriteCache writeCache)
Loads state of 2Q cache queues stored during storage close
O2QCache.closeStorage(OWriteCache) back into memory if flag
OGlobalConfiguration.STORAGE_KEEP_DISK_CACHE_STATE is set to true. |
void |
O2QCache.release(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
O2QCache.storeCacheState(OWriteCache writeCache)
Stores state of queues of 2Q cache inside of
O2QCache.CACHE_STATE_FILE file if flag
OGlobalConfiguration.STORAGE_KEEP_DISK_CACHE_STATE is set to true. |
void |
O2QCache.truncateFile(long fileId,
OWriteCache writeCache) |
| Modifier and Type | Method and Description |
|---|---|
OCacheEntry |
OLruPageCache.loadPage(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount) |
OCacheEntry |
OPageCache.loadPage(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount)
Loads the page.
|
OCacheEntry |
OTinyPageCache.loadPage(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount) |
OCacheEntry |
OPassthroughPageCache.loadPage(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount) |
OCacheEntry |
OLruPageCache.purgePage(long fileId,
long pageIndex,
OWriteCache writeCache) |
OCacheEntry |
OPageCache.purgePage(long fileId,
long pageIndex,
OWriteCache writeCache)
Purges the page from this page cache, but not from the underlying
read cache. |
OCacheEntry |
OTinyPageCache.purgePage(long fileId,
long pageIndex,
OWriteCache writeCache) |
OCacheEntry |
OPassthroughPageCache.purgePage(long fileId,
long pageIndex,
OWriteCache writeCache) |
void |
OLruPageCache.releaseFilePages(long fileId,
OWriteCache writeCache) |
void |
OPageCache.releaseFilePages(long fileId,
OWriteCache writeCache)
Releases the pages associated with the given file.
|
void |
OTinyPageCache.releaseFilePages(long fileId,
OWriteCache writeCache) |
void |
OPassthroughPageCache.releaseFilePages(long fileId,
OWriteCache writeCache) |
void |
OLruPageCache.releasePage(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
OPageCache.releasePage(OCacheEntry cacheEntry,
OWriteCache writeCache)
Releases the page.
|
void |
OTinyPageCache.releasePage(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
OPassthroughPageCache.releasePage(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
OLruPageCache.reset(OWriteCache writeCache) |
void |
OPageCache.reset(OWriteCache writeCache)
Resets this page cache by releasing all cached pages.
|
void |
OTinyPageCache.reset(OWriteCache writeCache) |
void |
OPassthroughPageCache.reset(OWriteCache writeCache) |
| Modifier and Type | Field and Description |
|---|---|
protected OWriteCache |
OAbstractPaginatedStorage.writeCache |
| Modifier and Type | Method and Description |
|---|---|
OWriteCache |
OAbstractPaginatedStorage.getWriteCache() |
| Constructor and Description |
|---|
OAtomicOperation(OLogSequenceNumber startLSN,
OOperationUnitId operationUnitId,
OReadCache readCache,
OWriteCache writeCache,
int storageId,
OPerformanceStatisticManager performanceStatisticManager) |
| Modifier and Type | Field and Description |
|---|---|
protected OWriteCache |
ODurableComponent.writeCache |
| Modifier and Type | Class and Description |
|---|---|
class |
ODirectMemoryOnlyDiskCache |
| Modifier and Type | Method and Description |
|---|---|
long |
ODirectMemoryOnlyDiskCache.addFile(String fileName,
long fileId,
OWriteCache writeCache) |
long |
ODirectMemoryOnlyDiskCache.addFile(String fileName,
OWriteCache writeCache) |
OCacheEntry |
ODirectMemoryOnlyDiskCache.allocateNewPage(long fileId,
OWriteCache writeCache,
boolean verifyChecksums) |
void |
ODirectMemoryOnlyDiskCache.closeFile(long fileId,
boolean flush,
OWriteCache writeCache) |
void |
ODirectMemoryOnlyDiskCache.closeStorage(OWriteCache writeCache)
Closes all files inside of write cache and flushes all associated data.
|
void |
ODirectMemoryOnlyDiskCache.deleteFile(long fileId,
OWriteCache writeCache) |
void |
ODirectMemoryOnlyDiskCache.deleteStorage(OWriteCache writeCache) |
OCacheEntry |
ODirectMemoryOnlyDiskCache.load(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums) |
void |
ODirectMemoryOnlyDiskCache.loadCacheState(OWriteCache writeCache)
Load state of cache from file system if possible.
|
long |
ODirectMemoryOnlyDiskCache.loadFile(long fileId,
OWriteCache writeCache) |
long |
ODirectMemoryOnlyDiskCache.loadFile(String fileName,
long fileId,
OWriteCache writeCache) |
long |
ODirectMemoryOnlyDiskCache.loadFile(String fileName,
OWriteCache writeCache) |
void |
ODirectMemoryOnlyDiskCache.release(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
ODirectMemoryOnlyDiskCache.storeCacheState(OWriteCache writeCache)
Stores state of cache inside file if possible.
|
void |
ODirectMemoryOnlyDiskCache.truncateFile(long fileId,
OWriteCache writeCache) |
Copyright © 2009–2025 OrientDB. All rights reserved.