| Modifier and Type | Method and Description |
|---|---|
static ArrayList<Instruction> |
Synchronization.decodeInstructionList(byte[] bytes) |
static ArrayList<Instruction> |
Synchronization.getInstructions(ArrayList<Instruction> result,
int diff,
int offset,
int a,
int b,
byte[] newValue,
ArrayList<Checksum> checksums,
int blockSize) |
static ArrayList<Instruction> |
Synchronization.getInstructions(byte[] newValue,
ArrayList<Checksum> checksums,
int blockSize)
It returns the sequence of instructions each of which contains either reference to a block or literal data.
|
ArrayList<Instruction> |
SynchronizationDirectBuilder.instructions() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Synchronization.encodeInstructionList(ArrayList<Instruction> instructions,
Number160 number160) |
static ArrayList<Instruction> |
Synchronization.getInstructions(ArrayList<Instruction> result,
int diff,
int offset,
int a,
int b,
byte[] newValue,
ArrayList<Checksum> checksums,
int blockSize) |
static byte[] |
Synchronization.getReconstructedValue(byte[] oldValue,
ArrayList<Instruction> instructions,
int blockSize)
It reconstructs the copy of responsible peer's value using instructions and the replica's value.
|
Copyright © 2014. All rights reserved.