public abstract class BaseCacheConfig extends Object
CacheConfig
and CheckedCacheConfig
.Constructor and Description |
---|
BaseCacheConfig() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
anchor()
Instance of the class "containing" this Cache.
|
protected void |
check()
Validates this cache configuration.
|
String |
description()
Human readable 1 line description of this Cache.
|
String |
id()
Short ID of this Cache.
|
public abstract Object anchor()
CacheManagers
for display to end-user.
Also used under OSGi to close() the cache on bundle unload.@Value.Default public String id()
CacheManagers
for display to end-user.
Any code requiring to identify a instances would just hold on to the Cache
instance.
Must be all lower case letters only, may use dot as separator, but no spaces or other characters.@Value.Default public String description()
CacheManagers
for display to end-user.
Optional; default is no description.@Value.Check protected void check()
Copyright © 2019 OpenDaylight. All rights reserved.