Class GroovySupportHelper


  • @Scriptable
    public final class GroovySupportHelper
    extends Object
    • Method Detail

      • getLogging

        public static de.uplanet.lucy.server.logging.LoggingMxMBean getLogging()
        Get access to logging settings.
        Returns:
        A logging access object.
      • dumpHeap

        public static boolean dumpHeap​(boolean p_bLive)
        Create ta heap dump in the current working directory with a name that contains the current time.
        Parameters:
        p_bLive - true if dump only live objects, i.e. objects that are reachable from others, or false otherwise.
        Returns:
        true if the heap dump could be created, or false otherwise.
      • dumpHeap

        public static boolean dumpHeap​(String p_strFileName,
                                       boolean p_bLive)
        Create ta heap dump.
        Parameters:
        p_strFileName - The name of the output file.
        p_bLive - true if dump only live objects, i.e. objects that are reachable from others, or false otherwise.
        Returns:
        true if the heap dump could be created, or false otherwise.