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