
OCluster.ATTRIBUTES| Constructor and Description |
|---|
OClusterRemote() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireAtomicExclusiveLock() |
OPhysicalPosition |
allocatePosition(byte recordType,
OAtomicOperation atomicOperation) |
OPhysicalPosition[] |
ceilingPositions(OPhysicalPosition position) |
void |
close() |
void |
close(boolean flush) |
java.lang.String |
compression() |
void |
configure(int iId,
java.lang.String iClusterName) |
void |
configure(OStorage iStorage,
OStorageClusterConfiguration iConfig) |
void |
create(OAtomicOperation atomicOperation) |
OPhysicalPosition |
createRecord(byte[] content,
int recordVersion,
byte recordType,
OPhysicalPosition allocatedPosition,
OAtomicOperation atomicOperation) |
void |
delete(OAtomicOperation atomicOperation) |
boolean |
deleteRecord(OAtomicOperation atomicOperation,
long clusterPosition) |
java.lang.String |
encryption() |
boolean |
exists() |
OPhysicalPosition[] |
floorPositions(OPhysicalPosition position) |
int |
getBinaryVersion() |
long |
getEntries() |
java.lang.String |
getFileName() |
long |
getFirstPosition() |
int |
getId() |
long |
getLastPosition() |
java.lang.String |
getName() |
long |
getNextPosition() |
OPhysicalPosition |
getPhysicalPosition(OPhysicalPosition iPPosition) |
ORecordConflictStrategy |
getRecordConflictStrategy() |
long |
getRecordsSize() |
long |
getTombstonesCount() |
OPhysicalPosition[] |
higherPositions(OPhysicalPosition position) |
boolean |
isDeleted(OPhysicalPosition iPPosition) |
boolean |
isSystemCluster() |
OPhysicalPosition[] |
lowerPositions(OPhysicalPosition position) |
OClusterBrowsePage |
nextPage(long lastPosition) |
void |
open(OAtomicOperation atomicOperation) |
ORawBuffer |
readRecord(long clusterPosition,
boolean prefetchRecords) |
ORawBuffer |
readRecordIfVersionIsNotLatest(long clusterPosition,
int recordVersion) |
java.lang.Object |
set(OCluster.ATTRIBUTES iAttribute,
java.lang.Object iValue) |
void |
setClusterName(java.lang.String name) |
void |
setEncryption(java.lang.String encryptionName,
java.lang.String encryptionKey) |
void |
setRecordConflictStrategy(java.lang.String conflictStrategy) |
void |
synch() |
void |
updateRecord(long clusterPosition,
byte[] content,
int recordVersion,
byte recordType,
OAtomicOperation atomicOperation) |
public void configure(int iId,
java.lang.String iClusterName)
public void configure(OStorage iStorage, OStorageClusterConfiguration iConfig)
public void create(OAtomicOperation atomicOperation)
public void open(OAtomicOperation atomicOperation)
public OPhysicalPosition allocatePosition(byte recordType, OAtomicOperation atomicOperation)
allocatePosition in interface OClusterpublic OPhysicalPosition createRecord(byte[] content, int recordVersion, byte recordType, OPhysicalPosition allocatedPosition, OAtomicOperation atomicOperation)
createRecord in interface OClusterpublic boolean deleteRecord(OAtomicOperation atomicOperation, long clusterPosition)
deleteRecord in interface OClusterpublic void updateRecord(long clusterPosition,
byte[] content,
int recordVersion,
byte recordType,
OAtomicOperation atomicOperation)
updateRecord in interface OClusterpublic ORawBuffer readRecord(long clusterPosition, boolean prefetchRecords)
readRecord in interface OClusterpublic ORawBuffer readRecordIfVersionIsNotLatest(long clusterPosition, int recordVersion) throws ORecordNotFoundException
readRecordIfVersionIsNotLatest in interface OClusterORecordNotFoundExceptionpublic void setClusterName(java.lang.String name)
setClusterName in interface OClusterpublic void setRecordConflictStrategy(java.lang.String conflictStrategy)
setRecordConflictStrategy in interface OClusterpublic void setEncryption(java.lang.String encryptionName,
java.lang.String encryptionKey)
setEncryption in interface OClusterpublic void delete(OAtomicOperation atomicOperation)
public java.lang.Object set(OCluster.ATTRIBUTES iAttribute, java.lang.Object iValue)
public java.lang.String encryption()
encryption in interface OClusterpublic OPhysicalPosition getPhysicalPosition(OPhysicalPosition iPPosition)
getPhysicalPosition in interface OClusterpublic long getEntries()
getEntries in interface OClusterpublic long getTombstonesCount()
getTombstonesCount in interface OClusterpublic long getFirstPosition()
getFirstPosition in interface OClusterpublic long getLastPosition()
getLastPosition in interface OClusterpublic long getNextPosition()
getNextPosition in interface OClusterpublic java.lang.String getFileName()
getFileName in interface OClusterpublic long getRecordsSize()
getRecordsSize in interface OClusterpublic boolean isSystemCluster()
isSystemCluster in interface OClusterpublic OPhysicalPosition[] higherPositions(OPhysicalPosition position)
higherPositions in interface OClusterpublic OPhysicalPosition[] lowerPositions(OPhysicalPosition position)
lowerPositions in interface OClusterpublic OPhysicalPosition[] ceilingPositions(OPhysicalPosition position)
ceilingPositions in interface OClusterpublic OPhysicalPosition[] floorPositions(OPhysicalPosition position)
floorPositions in interface OClusterpublic boolean isDeleted(OPhysicalPosition iPPosition)
public java.lang.String compression()
compression in interface OClusterpublic ORecordConflictStrategy getRecordConflictStrategy()
getRecordConflictStrategy in interface OClusterpublic void acquireAtomicExclusiveLock()
acquireAtomicExclusiveLock in interface OClusterpublic OClusterBrowsePage nextPage(long lastPosition)
public int getBinaryVersion()
getBinaryVersion in interface OClusterCopyright © 2009–2022 OrientDB. All rights reserved.