Package com.strategyquant.tradinglib
Class MemoryCleaner
java.lang.Object
com.strategyquant.tradinglib.MemoryCleaner
The Class MemoryCleaner.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
The Constant EVERY_10_MINUTES.static int
The Constant EVERY_10_SECONDS.static int
The Constant EVERY_15_MINUTES.static int
The Constant EVERY_2_MINUTES.static int
The Constant EVERY_20_SECONDS.static int
The Constant EVERY_30_MINUTES.static int
The Constant EVERY_30_SECONDS.static int
The Constant EVERY_45_SECONDS.static int
The Constant EVERY_5_MINUTES.static int
The Constant EVERY_HOUR.static int
The Constant EVERY_MINUTE.static org.slf4j.Logger
The Constant Log.static int
The Constant NEVER. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
Log
public static final org.slf4j.Logger LogThe Constant Log. -
NEVER
public static final int NEVERThe Constant NEVER.- See Also:
- Constant Field Values
-
EVERY_10_SECONDS
public static final int EVERY_10_SECONDSThe Constant EVERY_10_SECONDS.- See Also:
- Constant Field Values
-
EVERY_20_SECONDS
public static final int EVERY_20_SECONDSThe Constant EVERY_20_SECONDS.- See Also:
- Constant Field Values
-
EVERY_30_SECONDS
public static final int EVERY_30_SECONDSThe Constant EVERY_30_SECONDS.- See Also:
- Constant Field Values
-
EVERY_45_SECONDS
public static final int EVERY_45_SECONDSThe Constant EVERY_45_SECONDS.- See Also:
- Constant Field Values
-
EVERY_MINUTE
public static final int EVERY_MINUTEThe Constant EVERY_MINUTE.- See Also:
- Constant Field Values
-
EVERY_2_MINUTES
public static final int EVERY_2_MINUTESThe Constant EVERY_2_MINUTES.- See Also:
- Constant Field Values
-
EVERY_5_MINUTES
public static final int EVERY_5_MINUTESThe Constant EVERY_5_MINUTES.- See Also:
- Constant Field Values
-
EVERY_10_MINUTES
public static final int EVERY_10_MINUTESThe Constant EVERY_10_MINUTES.- See Also:
- Constant Field Values
-
EVERY_15_MINUTES
public static final int EVERY_15_MINUTESThe Constant EVERY_15_MINUTES.- See Also:
- Constant Field Values
-
EVERY_30_MINUTES
public static final int EVERY_30_MINUTESThe Constant EVERY_30_MINUTES.- See Also:
- Constant Field Values
-
EVERY_HOUR
public static final int EVERY_HOURThe Constant EVERY_HOUR.- See Also:
- Constant Field Values
-
-
Constructor Details
-
MemoryCleaner
public MemoryCleaner()
-
-
Method Details
-
init
public static void init()Inits the. -
cleanNow
Clean now.- Returns:
- the string
-
checkType
Check type.- Parameters:
type
- the type- Throws:
Exception
- the exception
-