T - public class MemoryBackedRegistry<T extends Identifiable> extends AbstractRegistry<T>
T.| Modifier and Type | Class and Description |
|---|---|
static class |
MemoryBackedRegistry.Factory<T extends Identifiable>
Factory for creating
MemoryBackedRegistry. |
Registry.ChangeListener<T extends Identifiable>, Registry.Changes<T extends Identifiable>, Registry.Outcome, Registry.ReloadResult| Constructor and Description |
|---|
MemoryBackedRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T t) |
CompletableFuture<Registry.ReloadResult> |
reload() |
void |
removeById(Id id) |
void |
reset() |
addListener, changes, get, notifyListeners, removeListener, setpublic void add(T t)
public void removeById(Id id)
public void reset()
public CompletableFuture<Registry.ReloadResult> reload()
Copyright © 2013–2020 Hotels.com. All rights reserved.