public interface ReadOnlyStringMetadataCache
The read-only interface to a StringMetadataCache allowed to be used by any thread.
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Integer stringId)
Determines if a string Id is contained in the cache.
|
org.apache.storm.metricstore.rocksdb.StringMetadata |
get(String s)
Get the string metadata from the cache.
|
String |
getMetadataString(Integer stringId)
Returns the string matching the string Id if in the cache.
|
org.apache.storm.metricstore.rocksdb.StringMetadata get(String s)
Get the string metadata from the cache.
s
- The string to look forString getMetadataString(Integer stringId)
Returns the string matching the string Id if in the cache.
stringId
- The string Id to checkboolean contains(Integer stringId)
Determines if a string Id is contained in the cache.
stringId
- The string Id to checkCopyright © 2022 The Apache Software Foundation. All rights reserved.