public class FileStorageTransferServer extends java.lang.Object implements StorageTransferServer
| Constructor and Description |
|---|
FileStorageTransferServer(RevenoClusterConfiguration config,
org.reveno.atp.core.storage.FileSystemStorage storage)
Protocol:
1st byte - SyncMode
2nd byte - 1b - Transactions, 2b - Events
3-10 bytes - from transaction id
rest - payload
|
| Modifier and Type | Method and Description |
|---|---|
void |
fixJournals(ClusterView view) |
void |
shutdown() |
void |
startup() |
public FileStorageTransferServer(RevenoClusterConfiguration config, org.reveno.atp.core.storage.FileSystemStorage storage)
public void startup()
startup in interface StorageTransferServerpublic void shutdown()
shutdown in interface StorageTransferServerpublic void fixJournals(ClusterView view)
fixJournals in interface StorageTransferServerCopyright © 2015 Artem Dmitriev. All Rights Reserved.