public class NoopCachePolicy extends Object implements CachePolicy
UNLIMITED_ENTRIES
Constructor and Description |
---|
NoopCachePolicy() |
Modifier and Type | Method and Description |
---|---|
long |
maxEntries()
Specifies the maximum number of entries the cache may contain.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
statsEnabled
public long maxEntries()
CachePolicy
The default is UNLIMITED_ENTRIES
.
Users are encourage to set the maximum entries policy suitable to their actual usage of the cache; either programmatically in code, or by runtime configuration.
maxEntries
in interface CachePolicy
Copyright © 2019 OpenDaylight. All rights reserved.