public interface SnapshotRegistryTransformer
Modifier and Type | Method and Description |
---|---|
default String |
getTransformerName()
Gets the name of the transformer algorithm and possibly the essential details on its parameters, if any.
|
byte[] |
transform(byte[] data)
Compute the verification data over the content of snapshot file registry.
|
void |
verify(byte[] data,
byte[] verificationData)
Validate the verification data computed earlier against the actual content of snapshot file registry.
|
byte[] transform(byte[] data) throws Exception
data
- Content of snapshot file registry.Exception
- If failed.void verify(byte[] data, byte[] verificationData) throws Exception
data
- Actual content of snapshot file registry, except for verification data.verificationData
- Verification data computed on snapshot creation.Exception
- If verification fails.default String getTransformerName()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024