Package org.conscrypt

Class FileClientSessionCache.CacheFile

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<java.io.File>
    Enclosing class:
    FileClientSessionCache

    static class FileClientSessionCache.CacheFile
    extends java.io.File
    A file containing a piece of cached data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long lastModified  
      (package private) java.lang.String name  
      • Fields inherited from class java.io.File

        pathSeparator, pathSeparatorChar, separator, separatorChar
    • Constructor Summary

      Constructors 
      Constructor Description
      CacheFile​(java.io.File dir, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.io.File another)  
      long lastModified()  
      • Methods inherited from class java.io.File

        canExecute, canRead, canWrite, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        final java.lang.String name
      • lastModified

        long lastModified
    • Constructor Detail

      • CacheFile

        CacheFile​(java.io.File dir,
                  java.lang.String name)
    • Method Detail

      • lastModified

        public long lastModified()
        Overrides:
        lastModified in class java.io.File
      • compareTo

        public int compareTo​(java.io.File another)
        Specified by:
        compareTo in interface java.lang.Comparable<java.io.File>
        Overrides:
        compareTo in class java.io.File