Class CacheParser


  • public class CacheParser
    extends java.lang.Object
    Parse user-supplied strings into cache info values
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long parseLong​(java.lang.String longStr, long defVal)  
      long parseLong​(java.lang.String longStr, long units, long defVal)  
      long parseSizeLong​(java.lang.String longStr, long defVal)  
      long parseTimeLong​(java.lang.String longStr, long defVal)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parseLong

        public long parseLong​(java.lang.String longStr,
                              long defVal)
      • parseSizeLong

        public long parseSizeLong​(java.lang.String longStr,
                                  long defVal)
      • parseTimeLong

        public long parseTimeLong​(java.lang.String longStr,
                                  long defVal)
      • parseLong

        public long parseLong​(java.lang.String longStr,
                              long units,
                              long defVal)