public interface NameLookupCache extends KeepBaseCache
Cache to lookup NotesNames by email and eMail by NotesName expires after a few hours
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(java.lang.String notesName,
   java.lang.String eMail)
Manually adds a cache entry into the caches 
 | 
void | 
evict(java.lang.String notesName,
     java.lang.String eMail)
Removes an cache entry from both Name and eMail lookup 
 | 
default java.util.Optional<java.lang.String> | 
getEmailFromNotesName(com.hcl.domino.DominoClient client,
                     java.lang.String notesName)
Retrieve the Internet eMail associated with a NotesName 
 | 
java.util.Optional<java.lang.String> | 
getEmailFromNotesName(com.hcl.domino.DominoClient client,
                     java.lang.String notesName,
                     boolean ignoreCache)
Retrieve the Internet eMail associated with a NotesName 
 | 
default java.util.Optional<java.lang.String> | 
getNotesNameFromEmail(com.hcl.domino.DominoClient client,
                     java.lang.String eMailString)
Retrieve a NotesName from an eMailId 
 | 
java.util.Optional<java.lang.String> | 
getNotesNameFromEmail(com.hcl.domino.DominoClient client,
                     java.lang.String eMailString,
                     boolean ignoreCache)
Retrieve a NotesName from an eMailId 
 | 
java.util.Set<java.lang.String> | 
toEMail(com.hcl.domino.DominoClient client,
       java.util.Collection<java.lang.String> source)
Translates a set of NotesName / eMail mix to eMails When an eMail is not found, the un-converted Name (which could be a group) gets returned 
 | 
default io.vertx.core.json.JsonArray | 
toEMailJson(com.hcl.domino.DominoClient client,
           io.vertx.core.json.JsonArray source)
Translates a set of NotesName / eMail mix to eMails When an eMail is not found, the un-converted Name (which could be a group) gets returned 
 | 
java.util.Set<java.lang.String> | 
toNotesName(com.hcl.domino.DominoClient client,
           java.util.Collection<java.lang.String> source)
Translates a set of eMails to NotesNames When an NotesName is not found, the un-converted eMail gets returned 
 | 
clear, evict, getCachePrefix, hasEntryvoid add(java.lang.String notesName,
         java.lang.String eMail)
Manually adds a cache entry into the caches
notesName - eMail - void evict(java.lang.String notesName,
           java.lang.String eMail)
Removes an cache entry from both Name and eMail lookup
notesName - eMail - default java.util.Optional<java.lang.String> getEmailFromNotesName(com.hcl.domino.DominoClient client,
                                                                   java.lang.String notesName)
Retrieve the Internet eMail associated with a NotesName
client - DominoClientnotesName - a fully qualified Notes Name (X500)  e.g. CN=John Doe/OU=Alpha/O=Acme Corpjava.util.Optional<java.lang.String> getEmailFromNotesName(com.hcl.domino.DominoClient client,
                                                           java.lang.String notesName,
                                                           boolean ignoreCache)
Retrieve the Internet eMail associated with a NotesName
client - DominoClientnotesName - a fully qualified Notes Name (X500)  e.g. CN=John Doe/OU=Alpha/O=Acme CorpignoreCache - default java.util.Optional<java.lang.String> getNotesNameFromEmail(com.hcl.domino.DominoClient client,
                                                                   java.lang.String eMailString)
Retrieve a NotesName from an eMailId
client - DominoClienteMailString - java.util.Optional<java.lang.String> getNotesNameFromEmail(com.hcl.domino.DominoClient client,
                                                           java.lang.String eMailString,
                                                           boolean ignoreCache)
Retrieve a NotesName from an eMailId
client - DominoClienteMailString - ignoreCache - java.util.Set<java.lang.String> toEMail(com.hcl.domino.DominoClient client,
                                        java.util.Collection<java.lang.String> source)
Translates a set of NotesName / eMail mix to eMails When an eMail is not found, the un-converted Name (which could be a group) gets returned
client - source - default io.vertx.core.json.JsonArray toEMailJson(com.hcl.domino.DominoClient client,
                                                 io.vertx.core.json.JsonArray source)
Translates a set of NotesName / eMail mix to eMails When an eMail is not found, the un-converted Name (which could be a group) gets returned
client - source - java.util.Set<java.lang.String> toNotesName(com.hcl.domino.DominoClient client,
                                            java.util.Collection<java.lang.String> source)
Translates a set of eMails to NotesNames When an NotesName is not found, the un-converted eMail gets returned
client - source -