Class MemoryCleaner

java.lang.Object
com.strategyquant.tradinglib.MemoryCleaner

public class MemoryCleaner extends Object
The Class MemoryCleaner.
  • Field Details

    • Log

      public static final org.slf4j.Logger Log
      The Constant Log.
    • NEVER

      public static final int NEVER
      The Constant NEVER.
      See Also:
      Constant Field Values
    • EVERY_10_SECONDS

      public static final int EVERY_10_SECONDS
      The Constant EVERY_10_SECONDS.
      See Also:
      Constant Field Values
    • EVERY_20_SECONDS

      public static final int EVERY_20_SECONDS
      The Constant EVERY_20_SECONDS.
      See Also:
      Constant Field Values
    • EVERY_30_SECONDS

      public static final int EVERY_30_SECONDS
      The Constant EVERY_30_SECONDS.
      See Also:
      Constant Field Values
    • EVERY_45_SECONDS

      public static final int EVERY_45_SECONDS
      The Constant EVERY_45_SECONDS.
      See Also:
      Constant Field Values
    • EVERY_MINUTE

      public static final int EVERY_MINUTE
      The Constant EVERY_MINUTE.
      See Also:
      Constant Field Values
    • EVERY_2_MINUTES

      public static final int EVERY_2_MINUTES
      The Constant EVERY_2_MINUTES.
      See Also:
      Constant Field Values
    • EVERY_5_MINUTES

      public static final int EVERY_5_MINUTES
      The Constant EVERY_5_MINUTES.
      See Also:
      Constant Field Values
    • EVERY_10_MINUTES

      public static final int EVERY_10_MINUTES
      The Constant EVERY_10_MINUTES.
      See Also:
      Constant Field Values
    • EVERY_15_MINUTES

      public static final int EVERY_15_MINUTES
      The Constant EVERY_15_MINUTES.
      See Also:
      Constant Field Values
    • EVERY_30_MINUTES

      public static final int EVERY_30_MINUTES
      The Constant EVERY_30_MINUTES.
      See Also:
      Constant Field Values
    • EVERY_HOUR

      public static final int EVERY_HOUR
      The Constant EVERY_HOUR.
      See Also:
      Constant Field Values
  • Constructor Details

    • MemoryCleaner

      public MemoryCleaner()
  • Method Details

    • init

      public static void init()
      Inits the.
    • cleanNow

      public static String cleanNow()
      Clean now.
      Returns:
      the string
    • checkType

      public static void checkType(int type) throws Exception
      Check type.
      Parameters:
      type - the type
      Throws:
      Exception - the exception