public interface UpdatableIDMigrator extends IDMigrator
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Iterable<String> stringIDs)
Make the mapping aware of the given string IDs.
|
void |
storeMapping(long longID,
String stringID)
Stores the reverse long-to-String mapping in some kind of backing store.
|
toLongID, toStringIDrefreshvoid storeMapping(long longID,
String stringID)
throws TasteException
initialize(Iterable)) for every String that might be encountered
in the application, or else the mapping will not be known.longID - long IDstringID - string ID that maps to/from that long IDTasteException - if an error occurs while saving the mappingvoid initialize(Iterable<String> stringIDs) throws TasteException
TasteException - if an error occurs while storing the mappingsCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.