Class MonitoringUtil


  • public class MonitoringUtil
    extends Object
    • Field Detail

      • HTTP_AUTH_FILE

        public static String HTTP_AUTH_FILE
    • Method Detail

      • getNetworkMonitorNames

        public static String[] getNetworkMonitorNames()
      • networkMonitorExist

        protected static boolean networkMonitorExist​(String nwMonName)
        return whether the specified network monitor has been instantiated in the entitlements service yet
      • escapeColonInString

        public static String escapeColonInString​(String str)
        Escapes colons (":") in the supplied String to ":". Useful mostly for the MBean names, as jdmk really doesn't like them.
      • getRealmDNForRealm

        protected static String getRealmDNForRealm​(String realm)
      • convertDate

        public static Byte[] convertDate​(String date)
        date/time format is "YYYY-MM-DD HH:MM:SS" it should be an 8-Byte array, where bytes 0-1: year byte 2: month byte 3: day byte 4: hours byte 5: minutes byte 6: seconds byte 7: deci-seconds (will be 0)
        Parameters:
        date -
        Returns:
        the converted date
      • isRunning

        public static boolean isRunning()
      • getPolicyWindowSize

        public static int getPolicyWindowSize()
      • getSessionWindowSize

        public static int getSessionWindowSize()