| Package | Description |
|---|---|
| sun.security.util |
| Modifier and Type | Method and Description |
|---|---|
static Cache |
Cache.newHardMemoryCache(int size)
Return a new memory cache with the specified maximum size, unlimited
lifetime for entries, with the values held by standard references.
|
static Cache |
Cache.newHardMemoryCache(int size,
int timeout)
Return a new memory cache with the specified maximum size, the
specified maximum lifetime (in seconds), with the values held
by standard references.
|
static Cache |
Cache.newNullCache()
Return a dummy cache that does nothing.
|
static Cache |
Cache.newSoftMemoryCache(int size)
Return a new memory cache with the specified maximum size, unlimited
lifetime for entries, with the values held by SoftReferences.
|
static Cache |
Cache.newSoftMemoryCache(int size,
int timeout)
Return a new memory cache with the specified maximum size, the
specified maximum lifetime (in seconds), with the values held
by SoftReferences.
|
Copyright © 2020. All Rights Reserved.