| Modifier and Type | Method and Description |
|---|---|
void |
delete(UUID key)
Deletes the given element from the cache.
|
void |
flushCache()
Flushes the content of the cache.
|
Schema |
get(UUID key)
Get the Value corresponding to the key.
|
long |
getCacheSize()
Get the current cache size.
|
com.google.common.cache.CacheStats |
getCacheStats()
Get the cache stats.
|
static AWSSchemaRegistryDeserializerCache |
getInstance(GlueSchemaRegistryConfiguration configs)
Singleton instantiation helper.
|
void |
put(UUID key,
Schema value)
Put the key and value in the cache for subsequent use.
|
public static AWSSchemaRegistryDeserializerCache getInstance(@NonNull GlueSchemaRegistryConfiguration configs)
configs - configuration elementspublic Schema get(UUID key)
AWSCachepublic void put(UUID key, Schema value)
AWSCachepublic void delete(UUID key)
AWSCachepublic void flushCache()
AWSCacheflushCache in interface AWSCache<UUID,Schema,com.google.common.cache.CacheStats>public long getCacheSize()
AWSCachegetCacheSize in interface AWSCache<UUID,Schema,com.google.common.cache.CacheStats>public com.google.common.cache.CacheStats getCacheStats()
AWSCachegetCacheStats in interface AWSCache<UUID,Schema,com.google.common.cache.CacheStats>Copyright © 2021. All rights reserved.