com.orientechnologies.orient.core.storage.index.versionmap.MapEntryPoint Maven / Gradle / Ivy
package com.orientechnologies.orient.core.storage.index.versionmap;
import com.orientechnologies.orient.core.storage.cache.OCacheEntry;
import com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage;
final class MapEntryPoint extends ODurablePage {
private static final int FILE_SIZE_OFFSET = NEXT_FREE_POSITION;
MapEntryPoint(final OCacheEntry cacheEntry) {
super(cacheEntry);
}
int getFileSize() {
return getIntValue(FILE_SIZE_OFFSET);
}
void setFileSize(int size) {
setIntValue(FILE_SIZE_OFFSET, size);
}
}