Class DcrKey
java.lang.Object
org.gridgain.internal.dcr.metastorage.DcrKey
Utility class for replication storage keys.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringfromByteArr(byte[] arr) Transforms byte array to replication identifier.static org.apache.ignite.internal.lang.ByteArrayprefix()All keys prefix.static org.apache.ignite.internal.lang.ByteArrayTransforms replication identifier to key byte array.
-
Method Details
-
toKey
Transforms replication identifier to key byte array.- Parameters:
name- Replication name.- Returns:
- Replication identifier in byte array format.
-
fromByteArr
Transforms byte array to replication identifier.- Parameters:
arr- Byte array.- Returns:
- Replication identifier.
-
prefix
public static org.apache.ignite.internal.lang.ByteArray prefix()All keys prefix.- Returns:
- Prefix for all keys.
-