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