public static interface Caches.ChildSelector<T>
child node name
)
to use based on the characteristics of a key.
Here is an example class which selects a child based on a person's department:
public static class DepartmentSelector implements ChildSelector<Person> { public Object childName(Person key) { return key.getDepartment(); } }
Fqn childName(T key)
key
- for calls to Map.put(K, V)
, Map.get(java.lang.Object)
etc.Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.