Class KeyWriterStakeBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.threadSafeUtils.KeyWriterStakeBean
-
public class KeyWriterStakeBean extends Object
- Author:
- Giovanni Antino
-
-
Constructor Summary
Constructors Constructor Description KeyWriterStakeBean()
-
Method Summary
-
-
-
Method Detail
-
getHexToBase64URLMapper
public ConcurrentSkipListMap<String,String> getHexToBase64URLMapper()
-
getUrl64ToHexMapper
public ConcurrentSkipListMap<String,String> getUrl64ToHexMapper()
-
setHexAddressSetToUrl64
protected void setHexAddressSetToUrl64(ConcurrentSkipListMap<String,String> hexAddressSetToUrl64)
-
setUrl64AddressSetToHex
protected void setUrl64AddressSetToHex(ConcurrentSkipListMap<String,String> url64AddressSetToHex)
-
setHexToStakeBean
protected void setHexToStakeBean(ConcurrentSkipListMap<String,StakeBean> hexToBalanceBeanSet)
-
getHexToStakeList
public ConcurrentSkipListMap<String,StakeBean> getHexToStakeList()
-
writeHexStake
public boolean writeHexStake(String hexAddr, StakeBean stb)
add if STB is not present overwrite if present FAIL if address is not part of this set- Parameters:
hexAddr
-stb
-- Returns:
-
writeURL64Stake
public boolean writeURL64Stake(String url64Addr, StakeBean stb)
add if STB is not present overwrite if present FAIL if address is not part of this set- Parameters:
url64Addr
-stb
-- Returns:
-
-