Class TkmStakeUndoKeyWriter
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.threadSafeUtils.TkmStakeUndoKeyWriter
-
public class TkmStakeUndoKeyWriter extends Object
- Author:
- Giovanni Antino
-
-
Constructor Summary
Constructors Constructor Description TkmStakeUndoKeyWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConcurrentSkipListMap<String,StakeUndoBean>
retriveStakeUndo(KeyWriterStakeUndoBean kwSU, KeyWriterStatusBean kwSB)
this function does not alter StakeUndoBean.static void
updateStakeUndo(KeyWriterStakeUndoBean kwSU, KeyWriterStatusBean kwSB)
-
-
-
Method Detail
-
retriveStakeUndo
public static ConcurrentSkipListMap<String,StakeUndoBean> retriveStakeUndo(KeyWriterStakeUndoBean kwSU, KeyWriterStatusBean kwSB)
this function does not alter StakeUndoBean. Return a brand new list of stake undo from saved values the retrive key is the hex format of the address.- Parameters:
kwSU
-kwSB
-- Returns:
- list (hexAddr, balancBean)
-
updateStakeUndo
public static void updateStakeUndo(KeyWriterStakeUndoBean kwSU, KeyWriterStatusBean kwSB)
-
-