Class NodeManagerUtils
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.threadSafeUtils.NodeManagerUtils
-
public class NodeManagerUtils extends Object
- Author:
- iris.dimni
-
-
Constructor Summary
Constructors Constructor Description NodeManagerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConcurrentSkipListMap<String,ConcurrentSkipListSet<Integer>>
applyStakeDistribution()
static ConcurrentSkipListMap<String,AcceptedBetByTargetBean>
getAcceptedBetByTarget()
static ConcurrentSkipListMap<String,HolderStakesByTargetBean>
getHolderStakesByTarget()
static String
getMainKeyUrl64FromOverflow(String overflowNodeKeyUrl64, KeyWriterStatusBean kwNMSB)
static ConcurrentSkipListMap<String,String>
getRewardAddresses()
protected static ArrayList<NodeStakeBean>
mapMainStakesToBean(ConcurrentSkipListMap<String,BigInteger> mainStakes)
-
-
-
Method Detail
-
applyStakeDistribution
public static ConcurrentSkipListMap<String,ConcurrentSkipListSet<Integer>> applyStakeDistribution() throws IOException
- Throws:
IOException
-
mapMainStakesToBean
protected static ArrayList<NodeStakeBean> mapMainStakesToBean(ConcurrentSkipListMap<String,BigInteger> mainStakes)
-
getRewardAddresses
public static ConcurrentSkipListMap<String,String> getRewardAddresses()
-
getAcceptedBetByTarget
public static ConcurrentSkipListMap<String,AcceptedBetByTargetBean> getAcceptedBetByTarget()
-
getHolderStakesByTarget
public static ConcurrentSkipListMap<String,HolderStakesByTargetBean> getHolderStakesByTarget()
-
getMainKeyUrl64FromOverflow
public static String getMainKeyUrl64FromOverflow(String overflowNodeKeyUrl64, KeyWriterStatusBean kwNMSB)
-
-