| Package | Description |
|---|---|
| com.orientechnologies.orient.core.storage.cache | |
| com.orientechnologies.orient.core.storage.cache.chm | |
| com.orientechnologies.orient.core.storage.cache.local | |
| com.orientechnologies.orient.core.storage.cache.local.twoq | |
| com.orientechnologies.orient.core.storage.config | |
| 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.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,
OLogSequenceNumber startLSN) |
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) |
void |
OReadCache.loadCacheState(OWriteCache writeCache)
Load state of cache from file system if possible.
|
OCacheEntry |
OReadCache.loadForRead(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums) |
OCacheEntry |
OReadCache.loadForWrite(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums,
OLogSequenceNumber startLSN) |
void |
OReadCache.pinPage(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
OReadCache.releaseFromRead(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
OReadCache.releaseFromWrite(OCacheEntry cacheEntry,
OWriteCache writeCache) |
OCacheEntry |
OReadCache.silentLoadForRead(long fileId,
int pageIndex,
OWriteCache writeCache,
boolean verifyChecksums)
Loads page from the disk cache if it is already loaded otherwise loads it from disk but does
not put it the disk cache.
|
void |
OReadCache.storeCacheState(OWriteCache writeCache)
Stores state of cache inside file if possible.
|
void |
OReadCache.truncateFile(long fileId,
OWriteCache writeCache) |
| Modifier and Type | Method and Description |
|---|---|
long |
AsyncReadCache.addFile(String fileName,
long fileId,
OWriteCache writeCache) |
long |
AsyncReadCache.addFile(String fileName,
OWriteCache writeCache) |
OCacheEntry |
AsyncReadCache.allocateNewPage(long fileId,
OWriteCache writeCache,
OLogSequenceNumber startLSN) |
void |
AsyncReadCache.closeFile(long fileId,
boolean flush,
OWriteCache writeCache) |
void |
AsyncReadCache.closeStorage(OWriteCache writeCache) |
void |
AsyncReadCache.deleteFile(long fileId,
OWriteCache writeCache) |
void |
AsyncReadCache.deleteStorage(OWriteCache writeCache) |
void |
AsyncReadCache.loadCacheState(OWriteCache writeCache) |
OCacheEntry |
AsyncReadCache.loadForRead(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums) |
OCacheEntry |
AsyncReadCache.loadForWrite(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums,
OLogSequenceNumber startLSN) |
void |
AsyncReadCache.pinPage(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
AsyncReadCache.releaseFromRead(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
AsyncReadCache.releaseFromWrite(OCacheEntry cacheEntry,
OWriteCache writeCache) |
OCacheEntry |
AsyncReadCache.silentLoadForRead(long extFileId,
int pageIndex,
OWriteCache writeCache,
boolean verifyChecksums) |
void |
AsyncReadCache.storeCacheState(OWriteCache writeCache) |
void |
AsyncReadCache.truncateFile(long fileId,
OWriteCache writeCache) |
| Modifier and Type | Class and Description |
|---|---|
class |
OWOWCache
Write part of disk cache which is used to collect pages which were changed on read cache and store them to the disk in background
thread.
|
| 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,
OLogSequenceNumber startLSN) |
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) |
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. |
OCacheEntry |
O2QCache.loadForRead(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums) |
OCacheEntry |
O2QCache.loadForWrite(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums,
OLogSequenceNumber startLSN) |
void |
O2QCache.pinPage(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
O2QCache.releaseFromRead(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
O2QCache.releaseFromWrite(OCacheEntry cacheEntry,
OWriteCache writeCache) |
OCacheEntry |
O2QCache.silentLoadForRead(long fileId,
int pageIndex,
OWriteCache writeCache,
boolean verifyChecksums) |
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 |
|---|---|
static boolean |
OClusterBasedStorageConfiguration.exists(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,
long operationUnitId,
OReadCache readCache,
OWriteCache writeCache,
int storageId) |
| 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,
OLogSequenceNumber startLSN) |
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) |
void |
ODirectMemoryOnlyDiskCache.loadCacheState(OWriteCache writeCache)
Load state of cache from file system if possible.
|
OCacheEntry |
ODirectMemoryOnlyDiskCache.loadForRead(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums) |
OCacheEntry |
ODirectMemoryOnlyDiskCache.loadForWrite(long fileId,
long pageIndex,
boolean checkPinnedPages,
OWriteCache writeCache,
int pageCount,
boolean verifyChecksums,
OLogSequenceNumber startLSN) |
void |
ODirectMemoryOnlyDiskCache.pinPage(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
ODirectMemoryOnlyDiskCache.releaseFromRead(OCacheEntry cacheEntry,
OWriteCache writeCache) |
void |
ODirectMemoryOnlyDiskCache.releaseFromWrite(OCacheEntry cacheEntry,
OWriteCache writeCache) |
OCacheEntry |
ODirectMemoryOnlyDiskCache.silentLoadForRead(long fileId,
int pageIndex,
OWriteCache writeCache,
boolean verifyChecksums) |
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.