| Package | Description |
|---|---|
| co.cask.cdap.messaging.cache |
| Modifier and Type | Method and Description |
|---|---|
MessageCache.Limits |
MessageCache.getLimits()
Returns the current soft and hard limits of this cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MessageCache.resize(MessageCache.Limits limits)
Resize the cache limits.
|
| Constructor and Description |
|---|
MessageCache(Comparator<T> comparator,
MessageCache.Weigher<T> weigher,
MessageCache.Limits limits,
co.cask.cdap.api.metrics.MetricsContext metricsContext)
Creates a new instance of the cache.
|
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.