
OCluster.ATTRIBUTES| Constructor and Description |
|---|
OClusterRemote() |
public void configure(OStorage iStorage, int iId, String iClusterName, Object... iParameters) throws IOException
configure in interface OClusterIOExceptionpublic void configure(OStorage iStorage, OStorageClusterConfiguration iConfig) throws IOException
configure in interface OClusterIOExceptionpublic void create(int iStartSize)
throws IOException
create in interface OClusterIOExceptionpublic void open()
throws IOException
open in interface OClusterIOExceptionpublic void close()
throws IOException
close in interface OClusterIOExceptionpublic void close(boolean flush)
throws IOException
close in interface OClusterIOExceptionpublic OPhysicalPosition allocatePosition(byte recordType) throws IOException
allocatePosition in interface OClusterIOExceptionpublic OPhysicalPosition createRecord(byte[] content, int recordVersion, byte recordType, OPhysicalPosition allocatedPosition) throws IOException
createRecord in interface OClusterIOExceptionpublic boolean deleteRecord(long clusterPosition)
throws IOException
deleteRecord in interface OClusterIOExceptionpublic void updateRecord(long clusterPosition,
byte[] content,
int recordVersion,
byte recordType)
throws IOException
updateRecord in interface OClusterIOExceptionpublic void recycleRecord(long clusterPosition)
throws IOException
recycleRecord in interface OClusterIOExceptionpublic ORawBuffer readRecord(long clusterPosition, boolean prefetchRecords) throws IOException
readRecord in interface OClusterIOExceptionpublic ORawBuffer readRecordIfVersionIsNotLatest(long clusterPosition, int recordVersion) throws IOException, ORecordNotFoundException
readRecordIfVersionIsNotLatest in interface OClusterIOExceptionORecordNotFoundExceptionpublic void delete()
throws IOException
delete in interface OClusterIOExceptionpublic Object set(OCluster.ATTRIBUTES iAttribute, Object iValue) throws IOException
set in interface OClusterIOExceptionpublic String encryption()
encryption in interface OClusterpublic void truncate()
throws IOException
truncate in interface OClusterIOExceptionpublic void compact()
throws IOException
compact in interface OClusterIOExceptionpublic OPhysicalPosition getPhysicalPosition(OPhysicalPosition iPPosition) throws IOException
getPhysicalPosition in interface OClusterIOExceptionpublic 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()
throws IOException
getNextPosition in interface OClusterIOExceptionpublic String getFileName()
getFileName in interface OClusterpublic void synch()
throws IOException
synch in interface OClusterIOExceptionpublic long getRecordsSize()
getRecordsSize in interface OClusterpublic boolean isHashBased()
isHashBased in interface OClusterpublic boolean isSystemCluster()
isSystemCluster in interface OClusterpublic OClusterEntryIterator absoluteIterator()
absoluteIterator in interface OClusterpublic OPhysicalPosition[] higherPositions(OPhysicalPosition position)
higherPositions in interface OClusterpublic OPhysicalPosition[] lowerPositions(OPhysicalPosition position)
lowerPositions in interface OClusterpublic OPhysicalPosition[] ceilingPositions(OPhysicalPosition position) throws IOException
ceilingPositions in interface OClusterIOExceptionpublic OPhysicalPosition[] floorPositions(OPhysicalPosition position) throws IOException
floorPositions in interface OClusterIOExceptionpublic float recordGrowFactor()
recordGrowFactor in interface OClusterpublic float recordOverflowGrowFactor()
recordOverflowGrowFactor in interface OClusterpublic String compression()
compression in interface OClusterpublic boolean hideRecord(long position)
hideRecord in interface OClusterpublic ORecordConflictStrategy getRecordConflictStrategy()
getRecordConflictStrategy in interface OClusterpublic void acquireAtomicExclusiveLock()
acquireAtomicExclusiveLock in interface OClusterpublic int checkClusterConsistency()
throws IOException
checkClusterConsistency in interface OClusterIOExceptionCopyright © 2009–2018 OrientDB. All rights reserved.