Class OSyncReceiver
java.lang.Object
com.orientechnologies.orient.server.distributed.impl.OSyncReceiver
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorsConstructorDescriptionOSyncReceiver(ODistributedPlugin distributed, String databaseName, ODistributedDatabaseChunk firstChunk, String iNode, String dbPath) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getDone()voidrun()voidprotected longwriteDatabaseChunk(int iChunkId, ODistributedDatabaseChunk chunk, OutputStream out)
-
Constructor Details
-
OSyncReceiver
public OSyncReceiver(ODistributedPlugin distributed, String databaseName, ODistributedDatabaseChunk firstChunk, String iNode, String dbPath)
-
-
Method Details
-
spawnReceiverThread
public void spawnReceiverThread() -
run
public void run() -
writeDatabaseChunk
protected long writeDatabaseChunk(int iChunkId, ODistributedDatabaseChunk chunk, OutputStream out) throws IOException - Throws:
IOException
-
getStarted
-
getInputStream
-
getDone
-
close
public void close()
-