java.lang.Object | |
↳ | com.atlassian.jira.config.properties.JiraSystemPropertiesCache |
This class provides caching of system properties. This is internal implementation used by JiraSystemProperties
.
NullPointerException
s which should be avoided.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CACHE_CAPACITY | Capacity of cache | |||||||||
long | CACHE_WRITE_EXPIRY_SECONDS | Expiry time for the cache. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor exposed currently for testing.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets all system properties.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Cache builder.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||||||||||||
From interface
com.atlassian.jira.config.properties.PropertiesAccessor
|
Capacity of cache
Expiry time for the cache.
Constructor exposed currently for testing.
accessor | the proxy object to access properties store. |
---|
Gets all system properties. Returns a snapshot of system properties obtain at the time of the call, which may be considered immediately invalid. This is not a live view of the system properties.
Cache builder. Exposed to mock and test timed eviction.