public class ODistributedDatabaseChunk extends Object implements OStreamable
Modifier and Type | Field and Description |
---|---|
byte[] |
buffer |
String |
filePath |
boolean |
gzipCompressed |
boolean |
incremental |
boolean |
last |
long |
offset |
long |
walPosition |
long |
walSegment |
Constructor and Description |
---|
ODistributedDatabaseChunk() |
ODistributedDatabaseChunk(File iFile,
long iOffset,
int iMaxSize,
boolean gzipCompressed,
boolean incremental) |
ODistributedDatabaseChunk(File iFile,
long iOffset,
int iMaxSize,
boolean gzipCompressed,
boolean incremental,
long walSegment,
long walPosition) |
ODistributedDatabaseChunk(OSyncSource backgroundBackup,
int iMaxSize) |
Modifier and Type | Method and Description |
---|---|
void |
fromStream(DataInput in) |
OLogSequenceNumber |
getLastWal() |
void |
toStream(DataOutput out) |
String |
toString() |
public String filePath
public long offset
public byte[] buffer
public boolean gzipCompressed
public boolean last
public boolean incremental
public long walSegment
public long walPosition
public ODistributedDatabaseChunk()
public ODistributedDatabaseChunk(OSyncSource backgroundBackup, int iMaxSize) throws IOException
IOException
public ODistributedDatabaseChunk(File iFile, long iOffset, int iMaxSize, boolean gzipCompressed, boolean incremental) throws IOException
IOException
public ODistributedDatabaseChunk(File iFile, long iOffset, int iMaxSize, boolean gzipCompressed, boolean incremental, long walSegment, long walPosition) throws IOException
IOException
public void toStream(DataOutput out) throws IOException
toStream
in interface OStreamable
IOException
public void fromStream(DataInput in) throws IOException
fromStream
in interface OStreamable
IOException
public OLogSequenceNumber getLastWal()
Copyright © 2009–2020 OrientDB. All rights reserved.