Package nxt.shuffling
Class ShufflingHome
java.lang.Object
nxt.shuffling.ShufflingHome
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumfinal class -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddListener(Listener<ShufflingHome.Shuffling> listener, ShufflingHome.Event eventType) static ShufflingHomeforChain(ChildChain childChain) getAccountShufflings(long accountId, boolean includeFinished, int from, int to) intgetActiveShufflings(int from, int to) getAll(int from, int to) getAssignedShufflings(long assigneeAccountId, int from, int to) intgetCount()getFinishedShufflings(int from, int to) intgetHoldingShufflingCount(long holdingId, boolean includeFinished) getHoldingShufflings(long holdingId, ShufflingStage stage, boolean includeFinished, int from, int to) getShuffling(byte[] fullHash) static booleanremoveListener(Listener<ShufflingHome.Shuffling> listener, ShufflingHome.Event eventType)
-
Method Details
-
forChain
-
addListener
public static boolean addListener(Listener<ShufflingHome.Shuffling> listener, ShufflingHome.Event eventType) -
removeListener
public static boolean removeListener(Listener<ShufflingHome.Shuffling> listener, ShufflingHome.Event eventType) -
getCount
public int getCount() -
getActiveCount
public int getActiveCount() -
getAll
-
getActiveShufflings
-
getFinishedShufflings
-
getShuffling
-
getHoldingShufflingCount
public int getHoldingShufflingCount(long holdingId, boolean includeFinished) -
getHoldingShufflings
public DbIterator<ShufflingHome.Shuffling> getHoldingShufflings(long holdingId, ShufflingStage stage, boolean includeFinished, int from, int to) -
getAccountShufflings
public DbIterator<ShufflingHome.Shuffling> getAccountShufflings(long accountId, boolean includeFinished, int from, int to) -
getAssignedShufflings
public DbIterator<ShufflingHome.Shuffling> getAssignedShufflings(long assigneeAccountId, int from, int to)
-