public class OClusterRemote extends Object implements com.orientechnologies.orient.core.storage.OCluster
| Constructor and Description |
|---|
OClusterRemote() |
| Modifier and Type | Method and Description |
|---|---|
com.orientechnologies.orient.core.storage.OClusterPositionIterator |
absoluteIterator() |
com.orientechnologies.orient.core.storage.OClusterPositionIterator |
absoluteIterator(long iBeginRange,
long iEndRange) |
void |
addPhysicalPosition(com.orientechnologies.orient.core.storage.OPhysicalPosition iPPosition) |
void |
close() |
void |
configure(com.orientechnologies.orient.core.storage.OStorage iStorage,
int iId,
String iClusterName,
String iLocation,
int iDataSegmentId,
Object... iParameters) |
void |
configure(com.orientechnologies.orient.core.storage.OStorage iStorage,
com.orientechnologies.orient.core.config.OStorageClusterConfiguration iConfig) |
void |
create(int iStartSize) |
void |
delete() |
int |
getDataSegmentId() |
long |
getEntries() |
long |
getFirstEntryPosition() |
int |
getId() |
long |
getLastEntryPosition() |
String |
getName() |
com.orientechnologies.orient.core.storage.OPhysicalPosition |
getPhysicalPosition(com.orientechnologies.orient.core.storage.OPhysicalPosition iPPosition) |
long |
getRecordsSize() |
String |
getType() |
void |
lock() |
void |
open() |
void |
removePhysicalPosition(long iPosition) |
void |
set(com.orientechnologies.orient.core.storage.OCluster.ATTRIBUTES iAttribute,
Object iValue) |
void |
setType(String type) |
void |
synch() |
void |
truncate() |
void |
unlock() |
void |
updateDataSegmentPosition(long iPosition,
int iDataSegmentId,
long iDataPosition) |
void |
updateRecordType(long iPosition,
byte iRecordType) |
void |
updateVersion(long iPosition,
int iVersion) |
public void configure(com.orientechnologies.orient.core.storage.OStorage iStorage,
int iId,
String iClusterName,
String iLocation,
int iDataSegmentId,
Object... iParameters)
throws IOException
configure in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void configure(com.orientechnologies.orient.core.storage.OStorage iStorage,
com.orientechnologies.orient.core.config.OStorageClusterConfiguration iConfig)
throws IOException
configure in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void create(int iStartSize)
throws IOException
create in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void open()
throws IOException
open in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void close()
throws IOException
close in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void delete()
throws IOException
delete in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void set(com.orientechnologies.orient.core.storage.OCluster.ATTRIBUTES iAttribute,
Object iValue)
throws IOException
set in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void truncate()
throws IOException
truncate in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic String getType()
getType in interface com.orientechnologies.orient.core.storage.OClusterpublic int getDataSegmentId()
getDataSegmentId in interface com.orientechnologies.orient.core.storage.OClusterpublic void addPhysicalPosition(com.orientechnologies.orient.core.storage.OPhysicalPosition iPPosition)
throws IOException
addPhysicalPosition in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic com.orientechnologies.orient.core.storage.OPhysicalPosition getPhysicalPosition(com.orientechnologies.orient.core.storage.OPhysicalPosition iPPosition)
throws IOException
getPhysicalPosition in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void updateDataSegmentPosition(long iPosition,
int iDataSegmentId,
long iDataPosition)
throws IOException
updateDataSegmentPosition in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void removePhysicalPosition(long iPosition)
throws IOException
removePhysicalPosition in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void updateRecordType(long iPosition,
byte iRecordType)
throws IOException
updateRecordType in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void updateVersion(long iPosition,
int iVersion)
throws IOException
updateVersion in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic long getEntries()
getEntries in interface com.orientechnologies.orient.core.storage.OClusterpublic long getFirstEntryPosition()
getFirstEntryPosition in interface com.orientechnologies.orient.core.storage.OClusterpublic long getLastEntryPosition()
getLastEntryPosition in interface com.orientechnologies.orient.core.storage.OClusterpublic void lock()
lock in interface com.orientechnologies.orient.core.storage.OClusterpublic void unlock()
unlock in interface com.orientechnologies.orient.core.storage.OClusterpublic int getId()
getId in interface com.orientechnologies.orient.core.storage.OClusterpublic void synch()
throws IOException
synch in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic String getName()
getName in interface com.orientechnologies.orient.core.storage.OClusterpublic long getRecordsSize()
getRecordsSize in interface com.orientechnologies.orient.core.storage.OClusterpublic com.orientechnologies.orient.core.storage.OClusterPositionIterator absoluteIterator()
absoluteIterator in interface com.orientechnologies.orient.core.storage.OClusterpublic com.orientechnologies.orient.core.storage.OClusterPositionIterator absoluteIterator(long iBeginRange,
long iEndRange)
throws IOException
absoluteIterator in interface com.orientechnologies.orient.core.storage.OClusterIOExceptionpublic void setType(String type)
Copyright © 2009-2012 Orient Technologies. All Rights Reserved.