public static interface JsonCache.Factory
Modifier and Type | Field and Description |
---|---|
static JsonCache.Factory |
instance
The singleton factory instance.
|
Modifier and Type | Method and Description |
---|---|
JsonCache.Root |
create()
Returns a new cache root instance.
|
JsonCache.Root |
get(String key)
Returns the singleton cache root instance for the specified key.
|
static final JsonCache.Factory instance
JsonCache.Root create()
JsonCache.Root get(String key)
key
value, being lazily created on the first such call.key
- The instance key.key
.Copyright © 2021. All rights reserved.