Package net.snowflake.client.core.crl
Class CRLCacheConfig
- java.lang.Object
-
- net.snowflake.client.core.crl.CRLCacheConfig
-
@SnowflakeJdbcInternalApi public class CRLCacheConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCRL_CACHE_VALIDITY_TIMEstatic StringCRL_ON_DISK_CACHE_REMOVAL_DELAYstatic StringCRL_RESPONSE_CACHE_DIRstatic StringENABLE_CRL_DISK_CACHINGstatic StringENABLE_CRL_IN_MEMORY_CACHING
-
Constructor Summary
Constructors Constructor Description CRLCacheConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DurationgetCacheValidityTime()static DurationgetCrlOnDiskCacheRemovalDelay()static booleangetInMemoryCacheEnabled()static PathgetOnDiskCacheDir()static booleangetOnDiskCacheEnabled()
-
-
-
Field Detail
-
ENABLE_CRL_IN_MEMORY_CACHING
public static final String ENABLE_CRL_IN_MEMORY_CACHING
- See Also:
- Constant Field Values
-
ENABLE_CRL_DISK_CACHING
public static final String ENABLE_CRL_DISK_CACHING
- See Also:
- Constant Field Values
-
CRL_CACHE_VALIDITY_TIME
public static final String CRL_CACHE_VALIDITY_TIME
- See Also:
- Constant Field Values
-
CRL_RESPONSE_CACHE_DIR
public static final String CRL_RESPONSE_CACHE_DIR
- See Also:
- Constant Field Values
-
CRL_ON_DISK_CACHE_REMOVAL_DELAY
public static final String CRL_ON_DISK_CACHE_REMOVAL_DELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInMemoryCacheEnabled
public static boolean getInMemoryCacheEnabled()
-
getOnDiskCacheEnabled
public static boolean getOnDiskCacheEnabled()
-
getCacheValidityTime
public static Duration getCacheValidityTime()
-
getOnDiskCacheDir
public static Path getOnDiskCacheDir()
-
getCrlOnDiskCacheRemovalDelay
public static Duration getCrlOnDiskCacheRemovalDelay()
-
-