public class MapPublisherRegistry extends Object implements Registry<String,PublisherRegistry>
mapName to PublisherRegistry.PublisherRegistry| Constructor and Description | 
|---|
| MapPublisherRegistry(QueryCacheContext context) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected PublisherRegistry | createPublisherRegistry(String mapName) | 
| Map<String,PublisherRegistry> | getAll()Returns map of all registered items in this registry. | 
| PublisherRegistry | getOrCreate(String mapName)Returns item if it exists in this registry or creates it. | 
| PublisherRegistry | getOrNull(String mapName)Returns item if it exists in this registry otherwise returns null. | 
| PublisherRegistry | remove(String id)Removes the registration from this registry. | 
public MapPublisherRegistry(QueryCacheContext context)
public PublisherRegistry getOrCreate(String mapName)
RegistrygetOrCreate in interface Registry<String,PublisherRegistry>mapName - key for reaching the item from this registry.public PublisherRegistry getOrNull(String mapName)
RegistrygetOrNull in interface Registry<String,PublisherRegistry>mapName - key for reaching the item from this registry.public Map<String,PublisherRegistry> getAll()
RegistrygetAll in interface Registry<String,PublisherRegistry>public PublisherRegistry remove(String id)
Registryremove in interface Registry<String,PublisherRegistry>id - key for reaching the item from this registry.protected PublisherRegistry createPublisherRegistry(String mapName)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.