public interface GlueSchemaRegistryCache<K,V,Stats>
| Modifier and Type | Method and Description |
|---|---|
void |
delete(K key)
Deletes the given element from the cache.
|
void |
flushCache()
Flushes the content of the cache.
|
V |
get(K key)
Get the Value corresponding to the key.
|
long |
getCacheSize()
Get the current cache size.
|
Stats |
getCacheStats()
Get the cache stats.
|
void |
put(K key,
V value)
Put the key and value in the cache for subsequent use.
|
V get(K key)
key - key for cache entryvoid put(K key, V value)
key - key for cache entryvalue - value of the cache entryvoid delete(K key)
key - key for cache entryvoid flushCache()
long getCacheSize()
Stats getCacheStats()
Copyright © 2024. All rights reserved.