public class NameCache extends Object
Modifier and Type | Field and Description |
---|---|
protected static LazyRemovalCache<Address,String> |
cache
Keeps track of associations between addresses and logical names
|
protected static LazyRemovalCache.Printable<Address,LazyRemovalCache.Entry<String>> |
print_function |
Constructor and Description |
---|
NameCache() |
Modifier and Type | Method and Description |
---|---|
static void |
add(Address uuid,
String logical_name) |
static void |
add(Map<Address,String> map) |
static String |
get(Address logical_addr) |
static Map<Address,String> |
getContents()
Returns a copy of the cache's contents
|
static String |
printCache() |
static void |
remove(Address addr) |
static void |
removeAll(Collection<Address> mbrs) |
static void |
retainAll(Collection<Address> logical_addrs) |
protected static final LazyRemovalCache<Address,String> cache
protected static final LazyRemovalCache.Printable<Address,LazyRemovalCache.Entry<String>> print_function
public static void remove(Address addr)
public static void removeAll(Collection<Address> mbrs)
public static void retainAll(Collection<Address> logical_addrs)
public static String printCache()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.