Class ReencryptStateUtils
- java.lang.Object
-
- org.apache.ignite.internal.managers.encryption.ReencryptStateUtils
-
public class ReencryptStateUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ReencryptStateUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intpageCount(long state)static intpageIndex(long state)static longstate(int idx, int total)
-
-
-
Method Detail
-
state
public static long state(int idx, int total)- Parameters:
idx- Index of the last reencrypted page.total- Total pages to be reencrypted.- Returns:
- Reencryption status.
-
pageIndex
public static int pageIndex(long state)
- Parameters:
state- Reencryption status.- Returns:
- Index of the last reencrypted page.
-
pageCount
public static int pageCount(long state)
- Parameters:
state- Reencryption status.- Returns:
- Total pages to be reencrypted.
-
-