Class FileClientSessionCache
java.lang.Object
org.conscrypt.FileClientSessionCache
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SSLClientSessionCacheusingDirectory(File directory) Returns a cache backed by the given directory.
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
-
Method Details
-
usingDirectory
Returns a cache backed by the given directory. Creates the directory (including parent directories) if necessary. This cache should have exclusive access to the given directory.- Parameters:
directory- to store files in- Returns:
- a cache backed by the given directory
- Throws:
IOException- if the file exists and is not a directory or if creating the directories fails
-