Class KeyWriterAcceptedBetByHolderBean
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.threadSafeUtils.KeyWriterAcceptedBetByHolderBean
-
public class KeyWriterAcceptedBetByHolderBean extends Object
- Author:
- Giovanni Antino
-
-
Constructor Summary
Constructors Constructor Description KeyWriterAcceptedBetByHolderBean()
-
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)
-
setHexToAcceptedHolderBean
protected void setHexToAcceptedHolderBean(ConcurrentSkipListMap<String,AcceptedBetByHolderBean> hexToAcceptedHolderBeanSet)
-
getAcceptedBetByHolderByHex
public AcceptedBetByHolderBean getAcceptedBetByHolderByHex(String hexAddr)
-
getAcceptedBetByHolderByURL64
public AcceptedBetByHolderBean getAcceptedBetByHolderByURL64(String urlAddr)
-
getHexToAcceptedBetByHolderList
public ConcurrentSkipListMap<String,AcceptedBetByHolderBean> getHexToAcceptedBetByHolderList()
-
writeHexAcceptedBetByHolder
public boolean writeHexAcceptedBetByHolder(String hexAddr, AcceptedBetByHolderBean abbhb)
add if BB is not present overwrite if present FAIL if address is not part of this set- Parameters:
hexAddr
-abbhb
-- Returns:
-
writeURL64AcceptedBetByHolder
public boolean writeURL64AcceptedBetByHolder(String url64Addr, AcceptedBetByHolderBean abbhb)
add if BB is not present overwrite if present FAIL if address is not part of this set- Parameters:
url64Addr
-abbhb
-- Returns:
-
addTransactionToSet
protected void addTransactionToSet(String urlAddr, AcceptedBetByHolderBean abbhb)
-
writeTransactionToSet
public void writeTransactionToSet(String urlAddr, AcceptedBetByHolderBean abbhb)
-
-