Class ODistributedDatabaseChunk
java.lang.Object
com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseChunk
- All Implemented Interfaces:
OStreamable
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]booleanbooleanbooleanlongintlong -
Constructor Summary
ConstructorsConstructorDescriptionODistributedDatabaseChunk(OSyncSource backgroundBackup, int iMaxSize) ODistributedDatabaseChunk(File iFile, long iOffset, int iMaxSize, boolean gzipCompressed, boolean incremental) ODistributedDatabaseChunk(File iFile, long iOffset, int iMaxSize, boolean gzipCompressed, boolean incremental, long walSegment, int walPosition) -
Method Summary
Modifier and TypeMethodDescriptionvoidfromStream(DataInput in) voidtoStream(DataOutput out) toString()
-
Field Details
-
filePath
-
offset
public long offset -
buffer
public byte[] buffer -
gzipCompressed
public boolean gzipCompressed -
last
public boolean last -
incremental
public boolean incremental -
walSegment
public long walSegment -
walPosition
public int walPosition
-
-
Constructor Details
-
ODistributedDatabaseChunk
public ODistributedDatabaseChunk() -
ODistributedDatabaseChunk
- Throws:
IOException
-
ODistributedDatabaseChunk
public ODistributedDatabaseChunk(File iFile, long iOffset, int iMaxSize, boolean gzipCompressed, boolean incremental) throws IOException - Throws:
IOException
-
ODistributedDatabaseChunk
public ODistributedDatabaseChunk(File iFile, long iOffset, int iMaxSize, boolean gzipCompressed, boolean incremental, long walSegment, int walPosition) throws IOException - Throws:
IOException
-
-
Method Details
-
toString
-
toStream
- Specified by:
toStreamin interfaceOStreamable- Throws:
IOException
-
fromStream
- Specified by:
fromStreamin interfaceOStreamable- Throws:
IOException
-
getLastWal
-