public class FreezeMonitor
extends java.lang.Object
Constructor and Description |
---|
FreezeMonitor(HoldingType holdingType) |
Modifier and Type | Method and Description |
---|---|
static void |
deleteAll() |
void |
enableFreeze(long holdingId,
int minHeight,
int actualHeight) |
static java.util.List<java.lang.Long> |
getFreezeIdsAt(HoldingType holdingType,
int actualHeight) |
static int |
getMinFreezeHeight(long holdingId,
HoldingType holdingType) |
static boolean |
hasFreezesAt(int actualHeight) |
static boolean |
isFrozen(HoldingType holdingType,
long holdingId) |
boolean |
isFrozen(long holdingId) |
void |
scheduleFreeze(long holdingId,
int height) |
public FreezeMonitor(HoldingType holdingType)
public boolean isFrozen(long holdingId)
public static boolean isFrozen(HoldingType holdingType, long holdingId)
public void scheduleFreeze(long holdingId, int height)
public void enableFreeze(long holdingId, int minHeight, int actualHeight)
public static boolean hasFreezesAt(int actualHeight)
public static java.util.List<java.lang.Long> getFreezeIdsAt(HoldingType holdingType, int actualHeight)
public static int getMinFreezeHeight(long holdingId, HoldingType holdingType)
public static void deleteAll()