| java.lang.Object | |
| ↳ | com.neomades.content.cache.NoCache |
Cache implementation that does nothing when a Query should be cached.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final NoCache | INSTANCE | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
NoCache()
Creates a
NoCache. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
clear()
Does nothing.
| ||||||||||
| CacheEntry |
get(String key)
Does nothing.
| ||||||||||
| void |
initialize()
Does nothing.
| ||||||||||
| void |
invalidate(String key, boolean fullExpire)
Does nothing.
| ||||||||||
| void |
put(String key, CacheEntry entry)
Does nothing.
| ||||||||||
| void |
remove(String key)
Does nothing.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.neomades.content.cache.Cache
| |||||||||||
Creates a NoCache.
Does nothing.
Does nothing.
Does nothing.
| key | the cache key |
|---|---|
| fullExpire | true to ignore the current cache data
|
Does nothing.
| key | the cache key |
|---|---|
| entry | Data to store in the cache |