Class KeyWriterBalancesOverTheLimitBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.threadSafeUtils.KeyWriterBalancesOverTheLimitBean
-
- All Implemented Interfaces:
Serializable
public class KeyWriterBalancesOverTheLimitBean extends Object implements Serializable
this class maps the addresses in hex format to those in url format. Conversion is necessary because addresses in url format contain unsafe characters for many filesystems- Author:
- giovanni.antino@h2tcoin.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyWriterBalancesOverTheLimitBean()
-
Method Summary
-
-
-
Method Detail
-
getHexToBase64URLMapper
public ConcurrentSkipListMap<String,String> getHexToBase64URLMapper()
return the mapper from hex to url64- Returns:
-
getUrl64ToHexMapper
public ConcurrentSkipListMap<String,String> getUrl64ToHexMapper()
-
setHexAddressSetToUrl64
protected void setHexAddressSetToUrl64(ConcurrentSkipListMap<String,String> hexAddressSetToUrl64)
-
setUrl64AddressSetToHex
protected void setUrl64AddressSetToHex(ConcurrentSkipListMap<String,String> url64AddressSetToHex)
-
setHexToBalanceOverTheLimitBean
protected void setHexToBalanceOverTheLimitBean(ConcurrentSkipListMap<String,String> hexToBalanceOverLimitMap)
-
getHexToBalanceOverTheLimitList
public ConcurrentSkipListMap<String,String> getHexToBalanceOverTheLimitList()
-
writeHexBalanceOverTheLimit
public boolean writeHexBalanceOverTheLimit(String hexAddr, String bb)
add if BB is not present overwrite if present FAIL if address is not part of this set- Parameters:
hexAddr
-bb
-- Returns:
-
writeURL64BalanceOverTheLimit
public boolean writeURL64BalanceOverTheLimit(String url64Addr, String bb)
add if BB is not present overwrite if present FAIL if address is not part of this set- Parameters:
url64Addr
-bb
-- Returns:
-
addTransactionToSetWithBalance
public void addTransactionToSetWithBalance(String urlAddr)
-
-